Properties
SupportedFormats
#Gets an enumeration of formats supported for the Load(Stream, RichTextAreaFormat) and Save(Stream, RichTextAreaFormat) methods.
Value: The supported formats for loading and saving.
Methods
Load
#Loads the specified format from the stream, replacing the content of the buffer.
Remarks: The CaretIndex and Selection will be set to the end of the string after set.
Parameters:
| stream (Stream) | Stream to load from. |
| format (RichTextAreaFormat) | Format of the stream to load. |
Save
#Saves the buffer into a stream with the specified format.
Parameters:
| stream (Stream) | Stream to save to. |
| format (RichTextAreaFormat) | Format to save into the stream. |
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.
Parameters:
| range (Range<int>) | Range to set the font family. |
| family (FontFamily) | Font family for the text in the 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.