Document Properties
An interface that exposes the specific functionality of the document.| Name | Description |
|---|---|
| AbstractNumberingLists | Provides access to a collection of abstract numbering lists in the document. |
| AlignBordersAndEdges | Specifies whether to align paragraph borders and table edges with page borders. |
| Bookmarks | Provides access to the collection of document bookmarks. Inherited from SubDocument. |
| BorderSurroundsFooter | Specifies whether the page border includes or excludes the footer. |
| BorderSurroundsHeader | Specifies whether the page border includes or excludes the header. |
| CaretPosition | Gets or sets the position of the caret within the document. |
| CharacterStyles | Provides access to a collection of character styles in the current document. |
| Comments | Provides access to a collection of comments in the current SubDocument. Inherited from SubDocument. |
| CompatibilitySettings | Provides access to the document compatibility settings. |
| ContentControls | Obtains content controls obtained in a document. Inherited from SubDocument. |
| CustomMarks | Provides access to a collection of custom marks. Inherited from SubDocument. |
| CustomProperties | Provides access to a collection of the document’s custom properties. |
| CustomXmlParts | Provides access to a document’s collection of custom XML parts. |
| DefaultCharacterProperties | Provides access to default character formatting for the current document. |
| DefaultParagraphProperties | Provides access to default paragraph formatting for the current document. |
| DefaultTableProperties | Provides access to the default properties for document tables. |
| DefaultTabWidth | Gets or sets the default value of a tab stop width. |
| DifferentOddAndEvenPages | Gets or sets whether the document has different odd and even pages. |
| DocBytes | Gets or sets the document content as an array of bytes in Microsoft Word 97-2003 format (Doc) format. |
| DocmBytes | Gets or sets the document content as an array of bytes in DOCM (Microsoft Office Open XML macro-enabled document) format. |
| DocumentProperties | Provides access to the collection of document’s core properties. |
| DocxBytes | Gets or sets the document content as an array of bytes in Office Open XML (DOCX) format. |
| DotBytes | Gets or sets the document content as an array of bytes in DOT (Microsoft Word 97-2007 Template) format. |
| DotmBytes | Gets or sets the document content as an array of bytes in DOTM (Microsoft Office Open XML Macro-Enabled Template) format. |
| DotxBytes | Gets or sets the document content as an array of bytes in DOTX (Microsoft Office Open XML macro-free template) format.’ |
| EmbedFonts | Gets or sets whether to embed fonts used in the document. |
| Encryption | Provides access for the document’s encryption options. |
| EndnotePosition | 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 SubDocument. |
| FlatOpcBytes | Gets or sets the document content as an array of bytes in FlatOpc (Microsoft Word XML Document, .xml) format. |
| FlatOpcMacroEnabledBytes | Gets or sets the document content as an array of bytes in FlatOpcMacroEnabled (Microsoft Word XML Macro-Enabled Document, .xml) format. |
| FlatOpcMacroEnabledTemplateBytes | Gets or sets the document content as an array of bytes in FlatOpcMacroEnabledTemplate (Microsoft Word XML Macro-Enabled Template, .xml) format. |
| FlatOpcTemplateBytes | Gets or sets the document content as an array of bytes in FlatOpcTemplate (Microsoft Word XML Template, .xml) format. |
| Footnotes | Provides access to the document’s footnotes. |
| FormFields | Provides access to the collection of the document’s FormField objects. Inherited from SubDocument. |
| GutterAtTop | Gets or sets whether to position the gutter margin at the top of the page. |
| HtmlText | Gets or sets the document content as HTML text. |
| Hyperlinks | Provides access to a collection of hyperlinks in the document. Inherited from SubDocument. |
| HyphenateCaps | 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 SubDocument. |
| IsDocumentProtected | Gets whether document protection is enabled. |
| IsEmpty | Indicates whether the document is empty, i.e. contains only default content. |
| Length | Gets the character length of the document. Inherited from SubDocument. |
| MarginType | Specifies the type of margins used in the document. |
| MhtText | Gets or sets the document content as MHT text. |
| NumberingLists | Provides access to a collection of definitions for numbering lists instantiated in the document. |
| OdtBytes | Gets or sets the document content as an array of bytes in Office Open XML (DOCX) format. |
| OpenDocumentBytes | Gets or sets the document content as an array of bytes in Open Office Text (.odt) format. |
| OpenXmlBytes | Gets or sets the document content as an array of bytes in Office Open XML (DOCX) format. |
| PageBackColor | Gets the background color of the page. Inherited from SubDocument. |
| Paragraphs | Provides access to a collection of paragraphs. Inherited from SubDocument. |
| ParagraphStyles | Provides access to a collection of paragraph styles in the current document. |
| ProtectionType | Gets the protection type for the document. |
| Range | Gets the range for the current document. Inherited from SubDocument. |
| RequiredExportCapabilities | 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. |
| RtfText | 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 SubDocument. |
| ShowPageBackground | Gets whether the page background color is shown. Inherited from SubDocument. |
| Tables | Provides access to a collection of tables contained in the current document. Inherited from SubDocument. |
| TableStyles | 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. |
| TrackChanges | Provides access to the document’s track changes options. |
| Unit | Gets or sets a document’s measure units. |
| UpdateDocVariablesBeforePrint | 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. |
| VbaProject | Obtains the VBA project stored in macro-enabled document. |
| WatermarkManager | Gets a manager that allows you to organize watermarks. |
| WordMLText | Gets or sets the document content as the text in WordProcessingML (Microsoft Office Word 2003 XML) format. |
See Also