Back to Devexpress

SubDocument Members

blazor-devexpress-dot-blazor-dot-richedit-dot-subdocument-dot-underscore-members.md

latest8.1 KB
Original Source

SubDocument Members

A sub-document in a document.

Properties

NameDescription
BookmarksProvides access to sub-document bookmarks.
FieldsProvides access to sub-document fields.
HyperlinksProvides access to sub-document hyperlinks.
ImagesProvides access to the sub-document’s images.
InlineImagesProvides access to the sub-document’s inline images.
ParagraphsProvides access to the sub-document’s paragraphs.
TablesProvides access to sub-document tables.
TypeReturns the sub-document type.

Methods

NameDescription
AddHtmlAsync(Int32, String, CancellationToken)Parses HTML code and inserts the resulting content at the specified position in a sub-document.
AddHtmlAsync(String, CancellationToken)Parses HTML code and inserts the resulting content at the end of a sub-document.
AddRtfAsync(Int32, String, CancellationToken)Inserts text in Rich Text Format (RTF) into the sub-document at the specified position.
AddRtfAsync(String, CancellationToken)Inserts text in Rich Text Format (RTF) at the end of a sub-document.
AddTextAsync(Int32, String, CancellationToken)Inserts the text at the specified position.
AddTextAsync(String, CancellationToken)Appends the specified text to the sub-document.
ClearFormattingAsync(Interval, CancellationToken)Resets character formatting in the sub-document’s interval to the default settings.
ClearFormattingAsync(CancellationToken)Resets character formatting in the sub-document to the default settings.
Equals(Object, Object) staticDetermines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object)Determines whether the specified object is equal to the current object. Inherited from Object.
FindAllAsync(String, Boolean, CancellationToken)Finds all matches of the specified text in the sub-document.
GetHashCode()Serves as the default hash function. Inherited from Object.
GetHtmlAsync(Interval, CancellationToken)Returns the specified interval’s content in HTML format.
GetHtmlAsync(Int32, Int32, CancellationToken)Returns the specified interval’s content in HTML format. The interval is specified by its start position and length.
GetIntervalAsync(CancellationToken)Returns a sub-document’s interval.
GetRtfAsync(Interval, CancellationToken)Returns the specified interval’s content in Rich Text Format (RTF).
GetRtfAsync(Int32, Int32, CancellationToken)Returns the interval content in Rich Text Format (RTF). The startPosition and length parameters define the interval.
GetTextSpanAsync(Interval, CancellationToken)Gets the text span placed within the specified interval.
GetTextSpanAsync(Int32, Int32, CancellationToken)Gets the text span at the specified position.
GetType()Gets the Type of the current instance. Inherited from Object.
MemberwiseClone() protectedCreates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) staticDetermines whether the specified Object instances are the same instance. Inherited from Object.
RemoveAsync(Interval, CancellationToken)Removes the specified text interval.
RemoveAsync(Int32, Int32, CancellationToken)Removes the specified text interval.
ReplaceAllAsync(String, String, Boolean, CancellationToken)Finds all matches of the specified string in the sub-document and replaces them with a specific string.
ToString()Returns a string that represents the current object. Inherited from Object.

See Also

SubDocument Class

DevExpress.Blazor.RichEdit Namespace