Click or drag to resize

ITextBuffer Methods

The ITextBuffer type exposes the following members.

Methods
  NameDescription
Public methodClear
Clears the buffer of all text and formatting.
Public methodDelete
Deletes text from the specified range
Public methodInsert
Inserts text with the format of the text at the specified position.
Public methodLoad
Loads the specified format from the stream, replacing the content of the buffer.
Public methodSave
Saves the buffer into a stream with the specified format.
Public methodSetBackground
Sets the background color for the specified range.
Public methodSetBold
Sets the bold flag for the specified text range.
Public methodSetFamily
Sets the font family for the specified text range.
Public methodSetFont
Sets the font for the specified text range.
Public methodSetForeground
Sets the foreground color for the specified text range.
Public methodSetItalic
Sets the italic flag for the specified text range.
Public methodSetStrikethrough
Sets the strikethrough for the specified text range.
Public methodSetUnderline
Sets the underline flag for the specified text range.
Top
Extension Methods
  NameDescription
Public Extension MethodGetRtf
Gets the content of the specified buffer as an RTF formatted string. Note that some platforms don't support RTF (e.g. Gtk).
(Defined by TextBufferExtensions.)
Public Extension MethodSetRtf
Sets the content of the buffer to the specified rtf string. Note that some platforms don't support RTF (e.g. Gtk).
(Defined by TextBufferExtensions.)
Top
See Also