Document Members
In This Article
#Properties
Name | Description |
---|---|
Abstract |
Provides access to a collection of abstract numbering lists in the document. |
Bookmarks |
Provides access to the collection of document bookmarks.
Inherited from Sub |
Caret |
Gets or sets the position of the caret within the document. |
Character |
Provides access to a collection of character styles in the current document. |
Comments |
Inherited from Sub |
Custom |
Provides access to a collection of custom marks.
Inherited from Sub |
Default |
Provides access to default character formatting for the current document. |
Default |
Provides access to default paragraph formatting for the current document. |
Default |
Provides access to default properties for document tables. |
Different |
Gets or sets whether the document has different odd and even pages. |
Fields |
Provides access to the collection of fields in the current document.
Inherited from Sub |
Html |
Gets or sets the document content as HTML text. |
Hyperlinks |
Provides access to a collection of hyperlinks in the document.
Inherited from Sub |
Images |
Inherited from Sub |
Is |
Gets whether document protection is enabled. |
Is |
Indicates whether the document is empty, i. |
Length |
Gets the character length of the document.
Inherited from Sub |
Mht |
Gets or sets the document content as MHT text. |
Numbering |
Provides access to a collection of definitions for numbering lists instantiated in the document. |
Open |
Gets or sets the document content as an array of bytes in Open Office Text (. |
Open |
Gets or sets the document content as an array of bytes in Office Open XML (Docx) format. |
Page |
Gets the background color of the page.
Inherited from Sub |
Paragraphs |
Provides access to a collection of paragraphs.
Inherited from Sub |
Paragraph |
Provides access to a collection of paragraph styles in the current document. |
Range |
Gets the range for the current document.
Inherited from Sub |
Required |
Obtains information on the formatting capabilities required to export the current document correctly. |
Rtf |
Gets or sets the formatted text content of the document. |
Sections | Provides access to a collection of sections. |
Selection | Gets or sets the selected range in the document. |
Shapes |
Inherited from Sub |
Show |
Gets whether the page background color is shown.
Inherited from Sub |
Tables |
Provides access to a collection of tables contained in the current document.
Inherited from Sub |
Table |
Provides access to a collection of styles defined for tables in the document. |
Text | Gets or sets the document's text (plain text). |
Unit | Gets or sets a unit of measure used within the document. |
Variables | Provides access to the collection of document variables. |
Word |
Gets or sets the document content as the text in Word |
#Methods
Name | Description |
---|---|
Add |
Obsolete. Apply the numbering list format specified by the Numbering |
Add |
Obsolete. This API is obsolete now.
Inherited from Sub |
Add |
Obsolete. This API is obsolete now.
Inherited from Sub |
Append |
Appends content from the specified range to the end of the current document.
Inherited from Sub |
Append |
Appends content from the specified range to the end of the current document.
Inherited from Sub |
Append |
Appends content from the stream to the end of the current document.
Inherited from Sub |
Append |
Appends content from the stream to the end of the current document.
Inherited from Sub |
Append |
Appends content from the stream to the end of the current document.
Inherited from Sub |
Append |
Appends content from the stream to the end of the current document.
Inherited from Sub |
Append |
Appends content from the file to the end of the current document.
Inherited from Sub |
Append |
Appends content from the file to the end of the current document.
Inherited from Sub |
Append |
Appends HTML formatted text to the end of the document.
Inherited from Sub |
Append |
Appends HTML formatted text to the end of the document.
Inherited from Sub |
Append |
Obsolete. Appends a specified image to the end of the document.
Inherited from Sub |
Append |
Obsolete. This API is obsolete now.
Inherited from Sub |
Append |
Obsolete. Appends an empty paragraph to the end of the document.
Inherited from Sub |
Append |
Appends formatted text to the end of the document.
Inherited from Sub |
Append |
Appends formatted text to the end of the document.
Inherited from Sub |
Append |
Appends a new empty section to the end of the document. |
Append |
Appends a single line of text to the end of the current document.
Inherited from Sub |
Append |
Appends the specified text to the end of the document.
Inherited from Sub |
Apply |
Performs a batch update of text formatting for document ranges corresponding to specified tokens.
Inherited from Sub |
Begin |
Locks the Sub |
Begin |
Starts modifying properties of the specified number of characters starting at the specified document position.
Inherited from Sub |
Begin |
Starts modifying properties of characters that fall within a specified document range.
Inherited from Sub |
Begin |
Starts modifying properties of the specified number of characters starting at the specified document position.
Inherited from Sub |
Begin |
Starts modifying properties of the paragraphs that fall within a specified document range.
Inherited from Sub |
Begin |
Gets the collection of all range permissions in the current document.
Inherited from Sub |
Cancel |
Finalizes the update process, leaving range permissions intact.
Inherited from Sub |
Change |
Enables you to operate on selections in documents other than the main document, such as headers and footers. |
Copy() | Copies the currently selected text to the clipboard. |
Copy |
Copies the specified range of text to the clipboard. |
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.
Inherited from Sub |
Create |
Obsolete. Creates a hyperlink for the document range, starting at the specified position, and extending through a specified length.
Inherited from Sub |
Create |
Obsolete. Creates a hyperlink for the specified document range.
Inherited from Sub |
Create |
Creates an object for specifying the options used in mail merge operations. |
Create |
Creates a new position in the current document.
Inherited from Sub |
Create |
Creates a new document range using the specified start position and range length.
Inherited from Sub |
Create |
Creates a new document range using the specified start position and range length.
Inherited from Sub |
Cut() | Removes the currently selected text and copies it to the clipboard. |
Cut |
Removes the specified range of text and copies it to the clipboard. |
Delete |
Removes the specified range of text from the document.
Inherited from Sub |
Delete |
Obsolete. Delete specified custom mark from the document's collection.
Inherited from Sub |
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.
Inherited from Sub |
Find |
Finds all text ranges that match the specified string in the current document.
Inherited from Sub |
Find |
Finds all text ranges that match the specified string in the current document.
Inherited from Sub |
Find |
Finds all occurrences of a character pattern specified by the regular expression.
Inherited from Sub |
Find |
Finds all occurrences of a character pattern specified by the regular expression.
Inherited from Sub |
Get |
|
Get |
Obsolete. Provides access to a custom mark in the Rich |
Get |
Gets the text contained in the specified range in HTML format.
Inherited from Sub |
Get |
Gets the text contained in the specified range in HTML format.
Inherited from Sub |
Get |
Obsolete. Gets all inline images in the specified document range.
Inherited from Sub |
Get |
Gets the content of the specified document range in MHT format.
Inherited from Sub |
Get |
Gets the content of the specified document range in MHT format.
Inherited from Sub |
Get |
Gets the content of the specified document range in Office Open XML (Docx) format.
Inherited from Sub |
Get |
Gets the content of the specified document range in Office Open XML (Docx) format.
Inherited from Sub |
Get |
Obsolete. Gets the paragraph encompassing the specified position.
Inherited from Sub |
Get |
Obsolete. Provides access to paragraphs to which the specified range belongs.
Inherited from Sub |
Get |
Gets the formatted string of the text contained in the specified range.
Inherited from Sub |
Get |
Gets the formatted string of the text contained in the specified range.
Inherited from Sub |
Get |
Gets the section encompassing the specified position. |
Get |
Obsolete. Get a collection of Shape objects contained in the specified document range.
Inherited from Sub |
Get |
Inherited from Sub |
Get |
Obsolete. Gets a table cell in which the specified position is located.
Inherited from Sub |
Get |
Returns the plain text of the specified document range.
Inherited from Sub |
Get |
Returns the plain text of the specified document range.
Inherited from Sub |
Get |
Returns the plain text of the specified document range.
Inherited from Sub |
Get |
Returns the plain text of the specified document range.
Inherited from Sub |
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.
Inherited from Sub |
Insert |
Inserts content from the specified range to the current document at the specified position.
Inherited from Sub |
Insert |
Inserts content from the stream to the current document at the specified position.
Inherited from Sub |
Insert |
Inserts content from the specified stream in the specified format, at the specified postion, in the current document.
Inherited from Sub |
Insert |
Insert content from the stream to the current document at the specified position.
Inherited from Sub |
Insert |
Inserts content from the specified stream in the specified format, at the specified position, in the current document.
Inherited from Sub |
Insert |
Inserts content from the file to the current document at the specified position.
Inherited from Sub |
Insert |
Inserts content from the file to the current document at the specified position.
Inherited from Sub |
Insert |
Inserts content from the file to the current document at the specified position.
Inherited from Sub |
Insert |
Inserts content from the file to the current document at the specified position.
Inherited from Sub |
Insert |
Inserts the specified HTML text into the specified position.
Inherited from Sub |
Insert |
Inserts the specified HTML text into the specified position.
Inherited from Sub |
Insert |
Obsolete. Inserts an image into the specified position in the document.
Inherited from Sub |
Insert |
Obsolete. This API is obsolete now.
Inherited from Sub |
Insert |
Obsolete. Inserts a new paragraph into the document's Sub |
Insert |
Obsolete. Inserts a new paragraph into the document at a specified position.
Inherited from Sub |
Insert |
Obsolete. Inserts a picture as a floating object.
Inherited from Sub |
Insert |
Obsolete. This API is obsolete now.
Inherited from Sub |
Insert |
Inserts formatted text into the document at the specified position.
Inherited from Sub |
Insert |
Inserts the specified formatted text into the specified position.
Inherited from Sub |
Insert |
Inserts a new section into the document's Document. |
Insert |
Inserts a single line of text (text without line breaks) at the specified position.
Inherited from Sub |
Insert |
Obsolete. Inserts a blank table with the specified number of rows and columns at the specified position.
Inherited from Sub |
Insert |
Obsolete. Inserts a blank table with the specified number of rows and columns at the specified position.
Inherited from Sub |
Insert |
Obsolete. Inserts a blank table with the specified number of rows and columns at the specified position.
Inherited from Sub |
Insert |
Inserts the specified text into the specified position.
Inherited from Sub |
Insert |
Obsolete. Inserts a floating text box.
Inherited from Sub |
Load |
Loads a document from a stream, specifying the document's format. |
Load |
Loads a document from the stream in the specified format. External content is retrieved using the specified source (base) URI. |
Load |
Loads a document from the specified file in the specified format. External content is retrieved using the specified source (base) URI. |
Load |
Loads a document from the specified file in the specified format. External content is retrieved using the specified source (base) URI. |
Mail |
Merges the current document and sends the result to the specified Document. |
Mail |
Merges the current document using the specified options, and sends the result to the specified Document. |
Mail |
Merges the current document using the specified options and sends the result to the specified stream in a specified format. |
Mail |
Merges the current document using the specified options and sends the result to the specified file in a specified format. |
Mail |
Merges the current document and sends the result to the specified stream in a specified format. |
Mail |
Merges the current document and sends the result to the specified file in a specified format. |
Make |
Merges all columns with indexes greater than 63 into a single column for all tables in a document. |
Paste() |
Insert a text from the clipboard into the current Document. |
Paste |
Inserts the contents of the clipboard in the specified format at the caret position. |
Protect |
Enforces document protection and sets the specified password. |
Remove |
Obsolete. Removes the specified bookmark from the bookmark collection of the document.
Inherited from Sub |
Remove |
Obsolete. Deletes a specified hyperlink.
Inherited from Sub |
Remove |
Obsolete. This API is obsolete now.
Inherited from Sub |
Remove |
Obsolete. Remove the numbering or bullet from all paragraphs intersecting the specified range.
Inherited from Sub |
Replace |
Replaces the specified document range with the specified text string.
Inherited from Sub |
Replace |
Replaces all occurrences of a character pattern defined by a regular expression with a specified replacement string.
Inherited from Sub |
Replace |
Finds all occurrences of the search string in the specified range, and replaces them with the replacement string.
Inherited from Sub |
Replace |
Replaces all occurrences of a character pattern defined by a regular expression with a specified replacement string.
Inherited from Sub |
Replace |
Replaces all occurrences of a character pattern defined by a regular expression with a specified replacement string.
Inherited from Sub |
Save |
Saves the document to a stream, specifying the document's format. |
Save |
Saves the document to a file, specifying the document's format. |
Select |
Selects all the content in the document.
Inherited from Sub |
Select |
Obsolete. Selects a range associated with the specified bookmark.
Inherited from Sub |
Set |
Shows the background color of the page.
Inherited from Sub |
Set |
Inherited from Sub |
Set |
Inherited from Sub |
Start |
Provides a search interface with default parameters.
Inherited from Sub |
Start |
Provides a search interface for a search in the current document in the specified direction, using the specified options.
Inherited from Sub |
Start |
Provides a search interface for a search in the specified range in the specified direction, using the specified options.
Inherited from Sub |
Start |
Provides a search interface for a search in the document, using a regular expression pattern.
Inherited from Sub |
Start |
Provides a search interface for a search in the specified range using a regular expression pattern.
Inherited from Sub |
Unprotect() | Removes document protection. |
#Events
Name | Description |
---|---|
Calculate |
Fires when the DOCVARIABLE field is updated. |
Content |
Occurs when the document content was changed. |
Modified |
Occurs when the document content has been modified since it was last saved. |
See Also