SubDocument Methods
Exposes properties and methods representing essential document functionality.
Name | Description |
---|---|
Append |
Appends content from the specified range. |
Append |
Appends content from the specified range. |
Append |
Appends content from the stream. |
Append |
Appends content from the stream. |
Append |
Appends content from the stream. |
Append |
Appends content from stream. |
Append |
Appends content from the file. |
Append |
Appends content from the file. |
Append |
Appends content from the file. |
Append |
Appends content from the file. |
Append |
Appends HTML formatted text. |
Append |
Appends HTML formatted text. |
Append |
Appends formatted text. |
Append |
Appends formatted text. |
Append |
Appends text as a single line. |
Append |
Appends the specified text. |
Apply |
Performs a batch update of text formatting for document ranges corresponding to specified tokens. |
Begin |
Locks the Sub object. Prevents visual updates until the End method calls.
|
Begin |
Starts modifying properties of the specified number of characters starting at the specified document position. |
Begin |
Starts modifying properties of characters that fall within a specified document range. |
Begin |
Starts modifying properties of the specified number of characters starting at the specified document position. |
Begin |
Starts modifying properties of the paragraphs that fall within a specified document range. |
Begin |
Gets the collection of all range permissions in the current document. |
Cancel |
Finalizes the update process, leaving range permissions intact. |
Create |
Creates a new position in the current document. |
Create |
Creates a new document range using the specified start position and range length. |
Create |
Creates a new document range using the specified start position and range length. |
Delete |
Removes content from the specified range. |
End |
Unlocks the Sub object after you call Begin . It also causes an immediate visual update.
|
End |
Finalizes the modification of character formatting after calling the Sub |
End |
Finalizes the modification of paragraph formatting after the Begin |
End |
Finalizes the update and applies the changes to range permissions. |
Find |
Finds all text ranges that match the specified string in the specified document range. |
Find |
Finds all text ranges that match the specified string in the specific part of the document (main body, text box, header, footer, comment, footnote, and endnote). |
Find |
Finds all occurrences of a character pattern specified by the regular expression. |
Find |
Finds all occurrences of a character pattern specified by the regular expression. |
Get |
Exports the range content in DOC (Microsoft Word 97-2003 Document) format and returns a byte array with this content. |
Get |
Exports the range content in DOC (Microsoft Word 97-2003 Document) format and returns a byte array with this content. |
Get |
Exports the range content in DOCM (Microsoft Office Open XML Macro-Enabled Document) format and returns a byte array with this content. |
Get |
Exports the range content in DOCM (Microsoft Office Open XML Macro-Enabled Document) format and returns a byte array with this content. |
Get |
Exports the range content in DOT (Microsoft Word 97-2007 Template) format and returns a byte array with this content. |
Get |
Exports the range content in DOT (Microsoft Word 97-2007 Template) format and returns a byte array with this content. |
Get |
Exports the range content in DOTM (Microsoft Office Open XML Macro-Enabled Template) format and returns a byte array with this content. |
Get |
Exports the range content in DOTM (Microsoft Office Open XML Macro-Enabled Template) format and returns a byte array with this content. |
Get |
Exports the range content in DOTX (Microsoft Office Open XML macro-free template) format and returns a byte array with this content. |
Get |
Exports the range content in DOTX (Microsoft Office Open XML macro-free template) format and returns a byte array with this content. |
Get |
Exports the range content in Flat |
Get |
Exports the range content in Flat |
Get |
Exports the range content in Flat |
Get |
Exports the range content in Flat |
Get |
Exports the range content in Flat |
Get |
Exports the range content in Flat |
Get |
Exports the range content in Flat |
Get |
Exports the range content in Flat |
Get |
Gets the text contained in the specified range in HTML format. |
Get |
Gets the text contained in the specified range in HTML format. |
Get |
Gets the content of the specified document range in MHT format. |
Get |
Gets the content of the specified document range in MHT format. |
Get |
Exports the content of the specified document range as a document in Open Document (ODT) format and returns a byte array with this document. |
Get |
Exports the content of the specified document range as a document in Open Document (ODT) format and returns a byte array with this document. |
Get |
Exports the content of the specified document range as a document in Office Open XML (Docx) format and returns a byte array with this document. |
Get |
Exports the content of the specified document range as a document in Office Open XML (Docx) format and returns a byte array with this document. |
Get |
Gets the formatted string of the text contained in the specified range. |
Get |
Gets the formatted string of the text contained in the specified range. |
Get |
Returns the subdocument type. |
Get |
Returns the plain text of the specified document range. |
Get |
Returns the plain text of the specified document range. |
Get |
Returns the plain text of the specified document range. |
Get |
Returns the plain text of the specified document range. |
Get |
Gets the text contained in the specified range in Word |
Get |
Gets the text contained in the specified range in Word |
Insert |
Inserts content from the specified range in the current document at the specified position. |
Insert |
Inserts content from the specified range in the current document at the specified position. |
Insert |
Inserts content from the specified stream in the specified format, at the specified position, in the current document. |
Insert |
Inserts content from the specified stream in the specified format, at the specified position, in the current document. |
Insert |
Insert content from the stream in the current document at the specified position. |
Insert |
Inserts content from the stream in the current document at the specified position. |
Insert |
Inserts content from the stream in the current document at the specified position. |
Insert |
Inserts content from the file in the current document at the specified position. |
Insert |
Inserts content from the file in the current document at the specified position. |
Insert |
Inserts content from the file in the current document at the specified position. |
Insert |
Inserts content from the file in the current document at the specified position. |
Insert |
Inserts content from the file in the current document at the specified position. |
Insert |
Inserts the specified HTML text into the specified position. |
Insert |
Inserts the specified HTML text into the specified position. |
Insert |
Inserts the specified formatted text into the specified position. |
Insert |
Inserts the specified formatted text into the specified position. |
Insert |
Inserts a single line of text (text without line breaks) at the specified position. |
Insert |
Inserts the specified text at the specified position. |
Replace |
Replaces the specified document range with the specified text string. |
Replace |
Finds all occurrences of the search string in the specified range, and replaces them with the replacement string. |
Replace |
Finds all occurrences of the search string in the current document, and replaces them with the replacement string. |
Replace |
Replaces all occurrences of a character pattern defined by a regular expression with a specified replacement string. |
Replace |
Replaces all occurrences of a character pattern defined by a regular expression with a specified replacement string. |
Select |
Selects all the content in the document. |
Set |
Shows the background color of the page. |
Set |
Sets the background color of the page and specifies whether it is shown. |
Set |
Set the background color of the page. |
Start |
Provides a search interface for a search in the specified range in the specified direction, using the specified options. |
Start |
Provides a search interface for a search in the current document in the specified direction, using the specified options. |
Start |
Provides a search interface with default parameters. |
Start |
Provides a search interface for a search in the specified range using a regular expression pattern. |
Start |
Provides a search interface for a search in the document, using a regular expression pattern. |
See Also