For a list of all members of this type, see RichTextDocument members.
Name | Description | |
---|---|---|
AppendText | Appends the specified text at the end of the document. | |
ApplyCharacterSettings | Overloaded. Applies any non-null settings in the specified settings object to text in the specified span. | |
ApplyCharacterStyle | Applies specified character style to runs in the specified span. | |
ApplyParagraphListStyle | Applies the specified list style to paragraphs intersecting the specified span, in effect making the paragraphs into a bulleted or numbered list according to the list style referred to by the specified listStyleId. | |
ApplyParagraphSettings | Applies the non-null settings in the specified settings object to paragraphs intersecting the specified span. | |
ApplyParagraphStyle | Applies specified paragraph style to paragraphs intersecting the specified span. | |
ClearCharacterStyle | Resets RunNode.StyleId to null on runs in the specified span. | |
ClearParagraphListStyle | Makes paragraphs intersecting the specified span non-list (not bulleted or numbered) paragraphs. | |
ClearParagraphStyle | Resets ParagraphNode.StyleId to null on paragraphs intersecting the specified span. | |
ClearUndoRedoHistory | Removes all the Undo and Redo history that relates to this RichTextDocument. | |
Delete | Overloaded. Deletes contents in the specified document span. | |
DeleteTableRow | Deletes a table row. | |
FindAll | Overloaded. Finds all instances of textToFind in the specified document span. Performs case-insensitive search by default. | |
GetAvailableCharacterStyles | Enumerates the available Character styles | |
GetAvailableListStyles | Enumerates the available List styles | |
GetAvailableParagraphStyles | Enumerates the available Paragraph styles | |
GetAvailableTableStyles | Enumerates the available Table styles | |
GetCommonCharacterSettings | Gets the common character settings across the runs in the specified span. | |
GetCommonParagraphListStyle | Gets the id of the list style used by paragraphs intersecting the specified span. | |
GetCommonParagraphSettings | Gets the common paragraph settings across paragraphs that intersect the specified span. | |
GetHyperlinks | Gets the hyperlinks intersecting the specified document span. | |
GetLargestFontSize | Gets the largest font size among runs intersecting the specified span. | |
GetNodeAtDocumentOffset | Gets the node at the specified document offset. Returns null if the offset is beyond the range. | |
GetNodeSpan | Gets the document span of the specified node. | |
GetParagraphs | Gets the paragraphs intersecting the specified document span. | |
GetRuns | Gets the RunNodes intersecting the specified document span. | |
GetSmallestFontSize | Gets the smallest font size among runs intersecting the specified span. | |
GetTableCells | Gets the table cells intersecting the specified document span. | |
GetTableRows | Gets the table rows intersecting the specified document span. | |
GetTextInSpan | Overloaded. Gets text in the specified document span. | |
GrowFontSize | Increases the font size of text within the specified document span. | |
IndentList | Indents the RichTextList (bulleted or numbered list) associated with the paragraph at the specified documentOffset. If the paragraph at the 'documentOffset' is not part of a list then this method does nothing. | |
IndentParagraphs | Adds to the existing indentation of paragraphs intersecting the specified document span by the specified amount. If paragraphs are part of a list then changes their list levels instead. | |
InsertContent | Inserts the specified content at the specified document offset. | |
InsertHyperlink | Inserts a hyperlink to an external resource such as a website. | |
InsertParagraph | Inserts a new paragraph at the specified offset in the document. | |
InsertTable | Inserts a new table at the specified document offset. | |
InsertTableRow | Overloaded. Inserts a new table row before or after existing table row at documentOffset. | |
InsertTableRows | Inserts a new table row before or after existing table row at documentOffset. | |
InsertText | Inserts the specified text in the document at the specified document offset. If the document offset refers to a block node, it finds an appropriate text node inside the block node to add the text to. If a text node is not found, it will add one to ensure the text gets inserted at a location that would be considered 'intended' within the block node. | |
Load | Overloaded. Loads the content from a file into the document using the specified serialization provider. | |
LoadFromPlainText | Overloaded. Loads the plain text content from a file into the document. | |
MakeHyperlink | Makes the content in the specified span a hyperlink. | |
OnEditorLostFocus | Indicates that the editor hosting the RichTextDocument has lost focus. | |
OutdentList | Outdents the RichTextList (bulleted or numbered list) associated with the paragraph at the specified documentOffset. If the paragraph at the 'documentOffset' is not part of a list then this method does nothing. | |
OutdentParagraphs | Substracts from the existing indentation of paragraphs intersecting the specified document span by the specified amount. If paragraphs are part of a list then changes their list levels instead. | |
RemoveHyperlinks | Removes all hyperlinks that intersect the specified span. | |
ReplaceAll | Overloaded. Replaces all instances of textToFind in the specified document span with the replacementText. Performs case-insensitive search by default. | |
ReplaceContents | Overloaded. Replaces the contents in specified document span with the specified 'newText'. | |
RetainCurrentClipboardData | If the current data on the Clipboard was placed there by a RichTextDocument in the current AppDomain, this method will ensure the data stays on the Clipboard so it can still be pasted to external applications even if the application is closing. | |
Save | Overloaded. Saves the content from the document into a file using the specified serialization provider. | |
SaveToPlainText | Overloaded. Saves the content from the document into a file using a plain text format. | |
SetCharacterSettingsProperty<TValue> | Sets character settings property or a sub-property on the text in the specified span. | |
SetParagraphSettingsProperty<TValue> | Sets paragraph settings property or a sub-property on the settings of paragraphs intersecting the specified span. | |
SetTextInSpan | Overloaded. Sets text in the specified document span. | |
ShrinkFontSize | Decreases the font size of the text within the specified document span. | |
StartUndoLogging | Starts undo logging if not already started. | |
StopUndoLogging | Stops undo logging. Note that existing undo/redo history of the document will be cleared. | |
ToggleCharacterFormatting | Toggles specified character formatting on the text contained in the specified span. |