SubDocument Members
In This Article
#Properties
Name | Description |
---|---|
Bookmarks | Provides access to the collection of document bookmarks. |
Comments | |
Custom |
Provides access to a collection of custom marks. |
Fields | Provides access to the collection of fields in the current document. |
Hyperlinks | Provides access to a collection of hyperlinks in the document. |
Images | |
Length | Gets the character length of the document. |
Page |
Gets the background color of the page. |
Paragraphs | Provides access to a collection of paragraphs. |
Range | Gets the range for the current document. |
Shapes | |
Show |
Gets whether the page background color is shown. |
Tables | Provides access to a collection of tables contained in the current document. |
#Methods
Name | Description |
---|---|
Add |
Obsolete. Apply the numbering list format specified by the Numbering |
Add |
Obsolete. This API is obsolete now. |
Add |
Obsolete. This API is obsolete now. |
Append |
Appends content from the specified range to the end of the current document. |
Append |
Appends content from the specified range to the end of the current document. |
Append |
Appends content from the stream to the end of the current document. |
Append |
Appends content from the stream to the end of the current document. |
Append |
Appends content from the stream to the end of the current document. |
Append |
Appends content from the stream to the end of the current document. |
Append |
Appends content from the file to the end of the current document. |
Append |
Appends content from the file to the end of the current document. |
Append |
Appends HTML formatted text to the end of the document. |
Append |
Appends HTML formatted text to the end of the document. |
Append |
Obsolete. Appends a specified image to the end of the document. |
Append |
Obsolete. This API is obsolete now. |
Append |
Obsolete. Appends an empty paragraph to the end of the document. |
Append |
Appends formatted text to the end of the document. |
Append |
Appends formatted text to the end of the document. |
Append |
Appends a single line of text to the end of the current document. |
Append |
Appends the specified text to the end of the document. |
Apply |
Performs a batch update of text formatting for document ranges corresponding to specified tokens. |
Begin |
Locks the Sub |
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 |
Obsolete. Creates a bookmark with the specified name for the range that starts at the specified position and has a specified length. Then, adds it to the Sub |
Create |
Obsolete. Creates a bookmark for the specified range with the specified name and adds it to the Sub |
Create |
Obsolete. Creates a custom mark at the specified position and associates specified data with it. |
Create |
Obsolete. Creates a hyperlink for the document range, starting at the specified position, and extending through a specified length. |
Create |
Obsolete. Creates a hyperlink for the specified document range. |
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 the specified range of text from the document. |
Delete |
Obsolete. Delete specified custom mark from the document's collection. |
End |
Unlocks the Sub |
End |
Finalizes the modification of character formatting after calling the Sub |
End |
Finalizes the modification of paragraph formatting after calling the Sub |
End |
Finalizes the update and applies the changes to range permissions. |
Find |
Finds all text ranges that match the specified string in the current document. |
Find |
Finds all text ranges that match the specified string in the current document. |
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 |
Obsolete. Provides access to a custom mark in the Rich |
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 |
Obsolete. Gets all inline images in the specified document range. |
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 |
Gets the content of the specified document range in Office Open XML (Docx) format. |
Get |
Gets the content of the specified document range in Office Open XML (Docx) format. |
Get |
Obsolete. Gets the paragraph encompassing the specified position. |
Get |
Obsolete. Provides access to paragraphs to which the specified range belongs. |
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 |
Obsolete. Get a collection of Shape objects contained in the specified document range. |
Get |
|
Get |
Obsolete. Gets a table cell in which the specified position is located. |
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 to the current document at the specified position. |
Insert |
Inserts content from the specified range to the current document at the specified position. |
Insert |
Inserts content from the stream to the current document at the specified position. |
Insert |
Inserts content from the specified stream in the specified format, at the specified postion, in the current document. |
Insert |
Insert content from the stream to 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 file to the current document at the specified position. |
Insert |
Inserts content from the file to the current document at the specified position. |
Insert |
Inserts content from the file to the current document at the specified position. |
Insert |
Inserts content from the file to 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 |
Obsolete. Inserts an image into the specified position in the document. |
Insert |
Obsolete. This API is obsolete now. |
Insert |
Obsolete. Inserts a new paragraph into the document's Sub |
Insert |
Obsolete. Inserts a new paragraph into the document at a specified position. |
Insert |
Obsolete. Inserts a picture as a floating object. |
Insert |
Obsolete. This API is obsolete now. |
Insert |
Inserts formatted text into the document at 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 |
Obsolete. Inserts a blank table with the specified number of rows and columns at the specified position. |
Insert |
Obsolete. Inserts a blank table with the specified number of rows and columns at the specified position. |
Insert |
Obsolete. Inserts a blank table with the specified number of rows and columns at the specified position. |
Insert |
Inserts the specified text into the specified position. |
Insert |
Obsolete. Inserts a floating text box. |
Remove |
Obsolete. Removes the specified bookmark from the bookmark collection of the document. |
Remove |
Obsolete. Deletes a specified hyperlink. |
Remove |
Obsolete. This API is obsolete now. |
Remove |
Obsolete. Remove the numbering or bullet from all paragraphs intersecting the specified range. |
Replace |
Replaces the specified document range with the specified text string. |
Replace |
Replaces all occurrences of a character pattern defined by a regular expression with a specified replacement string. |
Replace |
Finds all occurrences of the search string in the specified range, 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. |
Select |
Obsolete. Selects a range associated with the specified bookmark. |
Set |
Shows the background color of the page. |
Set |
|
Set |
|
Start |
Provides a search interface with default parameters. |
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 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 document, using a regular expression pattern. |
Start |
Provides a search interface for a search in the specified range using a regular expression pattern. |
See Also