Document Properties
An interface that exposes the specific functionality of the document.Name | Description |
---|---|
Abstract |
Provides access to a collection of abstract numbering lists in the document. |
Align |
Specifies whether to align paragraph borders and table edges with page borders. |
Bookmarks |
Provides access to the collection of document bookmarks.
Inherited from Sub |
Border |
Specifies whether the page border includes or excludes the footer. |
Border |
Specifies whether the page border includes or excludes the header. |
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 |
Provides access to a collection of comments in the current Sub |
Compatibility |
Provides access to the document compatibility settings. |
Content |
Obtains content controls obtained in a document.
Inherited from Sub |
Custom |
Provides access to a collection of custom marks.
Inherited from Sub |
Custom |
Provides access to a collection of the document’s custom properties. |
Custom |
Provides access to a document’s collection of custom XML parts. |
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 the default properties for document tables. |
Default |
Gets or sets the default value of a tab stop width. |
Different |
Gets or sets whether the document has different odd and even pages. |
Doc |
Gets or sets the document content as an array of bytes in Microsoft Word 97-2003 format (Doc) format. |
Docm |
Gets or sets the document content as an array of bytes in DOCM (Microsoft Office Open XML macro-enabled document) format. |
Document |
Provides access to the collection of document’s core properties. |
Dot |
Gets or sets the document content as an array of bytes in DOT (Microsoft Word 97-2007 Template) format. |
Dotm |
Gets or sets the document content as an array of bytes in DOTM (Microsoft Office Open XML Macro-Enabled Template) format. |
Dotx |
Gets or sets the document content as an array of bytes in DOTX (Microsoft Office Open XML macro-free template) format.’ |
Embed |
Gets or sets whether to embed fonts used in the document. |
Encryption | Provides access for the document’s encryption options. |
Endnote |
Gets or set the position of endnotes in the document. |
Endnotes | Provides access to document endnotes. |
Fields |
Provides access to the collection of fields in the current document.
Inherited from Sub |
Flat |
Gets or sets the document content as an array of bytes in Flat |
Flat |
Gets or sets the document content as an array of bytes in Flat |
Flat |
Gets or sets the document content as an array of bytes in Flat |
Flat |
Gets or sets the document content as an array of bytes in Flat |
Footnotes | Provides access to the document’s footnotes. |
Form |
Provides access to the collection of the document’s Form |
Gutter |
Gets or sets whether to position the gutter margin at the top of the page. |
Html |
Gets or sets the document content as HTML text. |
Hyperlinks |
Provides access to a collection of hyperlinks in the document.
Inherited from Sub |
Hyphenate |
Gets or sets whether to hyphenate words in CAPS. |
Hyphenation | Gets or sets whether to enable hyphenation in a document. |
Images |
Provides access to the collection of all images (inline and floating pictures) in the document .
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 |
Margin |
Specifies the type of margins used in the document. |
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. |
Protection |
Gets the protection type for the 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. |
Revisions | Provides access to the collection of revisions made in the current document. |
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. |
Selections | Retrieves a collection of selections in the document. |
Shapes |
Returns the collection of drawing objects in the document.
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). |
Theme | Gets or sets the theme used in the document. |
Track |
Provides access to the document’s track changes options. |
Unit | Gets or sets a document’s measure units. |
Update |
Gets or sets whether DOCVARIABLE fields are automatically updated before a document is printed or exported to PDF. |
Variables | Provides access to the collection of string values associated with document variables. |
Vba |
Obtains the VBA project stored in macro-enabled document. |
Watermark |
Gets a manager that allows you to organize watermarks. |
Word |
Gets or sets the document content as the text in Word |
See Also