FormattedText Members

Formatted Text.

Functions

Name Description
Find Searches the text for given string. Return value: Long.
GetSelection Returns the beginning and ending indices of the selected text.
SelectAll -
SetSelection Sets the beginning and ending indices of the selected text.

Properties

Name Description
Alignment Sets a value that controls the alignment of the paragraphs in a RichTextBox control. Assignment value: ParagraphAlignment.
CharacterCount Returns the number of characters. Return value: Integer. This property is read only.
Font Returns/sets the font of the text. Return/assignment value: Font.
PlainText Returns plain text version of the formatted text. Return value: String. This property is read only.
SelCharOffset Returns/sets a value that determines whether text appears on the baseline (normal), as a superscript above the baseline, or as a subscript below the baseline. Return/assignment value: FormattedTextCharOffset.
SelFont Returns/sets the font of the selected text. Return/assignment value: Font.
SelRTF Returns/sets RTF text version of the selected text. Return/assignment value: String.
SelText Returns/sets the string containing the currently selected text; consists of a zero-length string if no characters are selected. Return/assignment value: String.
Text Returns/sets formatted text as a string. Return/assignment value: String.
TextRTF Returns/sets RTF version of the formatted text. Return/assignment value: String.