Share

FormattedText Methods

The FormattedText type exposes the following members.

Methods

 NameDescription
Public methodCode exampleAsTextRange Returns a TextRange object that represents the entire text.
Public methodDispose 
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Public methodCode exampleFind Returns a text range identifying the first occurrence of the given string within the text, starting from a given index.
Public methodGetAllCapsStatus() Returns whether All, None or a Mixed of characters in the entire text are in all caps.
Public methodGetAllCapsStatus(TextRange) Returns whether All, None or a Mixed set of characters in a given text range are in all caps.
Public methodGetBoldStatus() Returns whether All, None or a Mixed of characters in the entire text are bold.
Public methodGetBoldStatus(TextRange) Returns whether All, None or a Mixed set of characters in a given text range are bold.
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetIndentLevel Returns the indent level of the paragraphs in the text range.
Public methodGetItalicStatus() Returns whether All, None or a Mixed of characters in the entire text are italic.
Public methodGetItalicStatus(TextRange) Returns whether All, None or a Mixed set of characters in a given text range are italic.
Public methodGetListStartNumber Returns the list start number of the paragraphs in a given text range.
Public methodGetListType Returns the ListType of a paragraph.
Public methodGetMaximumIndentLevel Returns the maximum allowed indent level
Public methodGetMaximumListStartNumber Returns the maximum allowed list start number.
Public methodGetMinimumListStartNumber Returns the minumum allowed list start number.
Public methodGetPlainText() Returns the entire text in a plain text form.
Public methodGetPlainText(TextRange) Returns a substring of the text in a plain text form. The start and end of the substring is identified by a given TextRange.
Public methodGetSubscriptStatus() Returns whether All, None or a Mixed of characters in the entire text are subscripted.
Public methodGetSubscriptStatus(TextRange) Returns whether All, None or a Mixed set of characters in a given text range are subscripted.
Public methodGetSuperscriptStatus() Returns whether All, None or a Mixed of characters in the entire text are superscripted.
Public methodGetSuperscriptStatus(TextRange) Returns whether All, None or a Mixed set of characters in a given text range are superscripted.
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodGetUnderlineStatus() Returns whether All, None or a Mixed of characters in the entire text are underlined.
Public methodGetUnderlineStatus(TextRange) Returns whether All, None or a Mixed set of characters in a given text range are underlined.
Public methodSetAllCapsStatus(Boolean) Sets the characters in the entire text to be in all caps or not.
Public methodSetAllCapsStatus(TextRange, Boolean) Sets the characters in a given text range to be in all caps or not.
Public methodSetBoldStatus(Boolean) Sets the characters in the entire text to be bold or not bold.
Public methodSetBoldStatus(TextRange, Boolean) Sets the characters in a given text range to be bold or not bold.
Public methodSetIndentLevel Sets the number of tab stops that the paragraph should be indented.
Public methodSetItalicStatus(Boolean) Sets the characters in the entire text to be italic or not italic.
Public methodSetItalicStatus(TextRange, Boolean) Sets the characters in a given text range to be italic or not italic.
Public methodSetListStartNumber Sets the list start number on the paragraphs in a given text range.
Public methodCode exampleSetListType Sets the ListType of a paragraph.
Public methodSetPlainText(String) Sets the entire text with the given text in a plain text form.
Public methodSetPlainText(TextRange, String) Sets the text with the given text in a plain text form in a range.
Public methodSetSubscriptStatus(Boolean) Sets the characters in the entire text to be subscript or not subscript.
Public methodSetSubscriptStatus(TextRange, Boolean) Sets the characters in a given text range to be subscript or not subscript.
Public methodSetSuperscriptStatus(Boolean) Sets the characters in the entire text to be superscript or not superscript.
Public methodSetSuperscriptStatus(TextRange, Boolean) Sets the characters in a given text range to be superscript or not superscript.
Public methodSetUnderlineStatus(Boolean) Sets the characters in the entire text to be underlined or not underlined.
Public methodSetUnderlineStatus(TextRange, Boolean) Sets the characters in a given text range to be underlined or not underlined.
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)

See Also

Reference

Was this information helpful?