ITextBuffer Interface |
Namespace: Eto.Forms
The ITextBuffer type exposes the following members.
Name | Description | |
---|---|---|
![]() | SupportedFormats |
Gets an enumeration of formats supported for the Load(Stream, RichTextAreaFormat) and Save(Stream, RichTextAreaFormat) methods.
|
Name | Description | |
---|---|---|
![]() | Clear |
Clears the buffer of all text and formatting.
|
![]() | Delete |
Deletes text from the specified range
|
![]() | Insert |
Inserts text with the format of the text at the specified position.
|
![]() | Load |
Loads the specified format from the stream, replacing the content of the buffer.
|
![]() | Save |
Saves the buffer into a stream with the specified format.
|
![]() | SetBackground |
Sets the background color for the specified range.
|
![]() | SetBold |
Sets the bold flag for the specified text range.
|
![]() | SetFamily |
Sets the font family for the specified text range.
|
![]() | SetFont |
Sets the font for the specified text range.
|
![]() | SetForeground |
Sets the foreground color for the specified text range.
|
![]() | SetItalic |
Sets the italic flag for the specified text range.
|
![]() | SetStrikethrough |
Sets the strikethrough for the specified text range.
|
![]() | SetUnderline |
Sets the underline flag for the specified text range.
|
Name | Description | |
---|---|---|
![]() | GetRtf |
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.) |
![]() | SetRtf |
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.) |