Represents a Word document.
| Property |
Type |
Access |
Description |
| AutoformatType |
Document.Autoformat
|
read write |
Sets or returns a Document.Autoformat object representing autoformat type for this document
|
| Bookmark |
Bookmark
|
read |
Returns a Bookmark object that represents the bookmark in this document that has the name specified
|
| ChangeTracking |
WordChangeTracking
|
read |
Returns an WordChangeTracking object that can be used to get and set the change tracking settings for this Document
|
| CompatibilitySettings |
CompatibilitySettings
|
read |
Returns an CompatibilitySettings object that can be used to get and set various settings that help Word display documents that were imported from earlier versions and competing products
|
| DateCreated |
Date
|
read |
Returns a DateTime object representing the date this document was created
|
| DatePrinted |
Date
|
read |
Returns a DateTime object representing the date this document was last printed using Word
|
| DateRevised |
Date
|
read |
Returns a DateTime object representing the date this document was last revised
|
| DefaultTabWidth |
int
|
read write |
Sets or returns an int representing the default tab width for this Document
|
| DocumentProperties |
DocumentProperties
|
read |
Returns an Styles object that represents the properties of this document
|
| DocumentProtection |
DocumentProtection
|
read |
Returns an DocumentProtection object that can be used to get and set the protection settings that Word will apply to this document
|
| GutterPosition |
Gutter
|
read write |
Sets or returns a Document.Gutter object representing the gutter position in this document when it is opened in Word
|
| HyphenSettings |
WordHyphenSettings
|
read |
Returns an WordHyphenSettings object that can be used to get and set the hyphenation settings for this Document
|
| MergeStylesFromTemplate |
boolean
|
read write |
Sets or returns a boolean representing if Word will update the styles in the current document to match the styles in the attached Word template (i.e
|
| NumCharacters |
int
|
read |
Returns an int representing the number of characters in this document
|
| NumPagesOnLastOpen |
int
|
read |
Returns an int representing the number of pages this document had when it was last opened in Word
|
| NumParagraphs |
int
|
read |
Returns an int representing the number of paragraphs in this document
|
| NumWords |
int
|
read |
Returns an int representing the number of words in this document
|
| PrintDataInFormFields |
boolean
|
read write |
Sets or returns a boolean representing if Word will only print the data inside a form field in this document
|
| PrintFacingPages |
boolean
|
read write |
Sets or returns a boolean representing if the headers and footers should be different for odd and even pages, such as when the pages in this document will be mirrored
|
| SaveDataInFormField |
boolean
|
read write |
Sets or returns a boolean representing if Word will save only the data entered into a form field (instead of the field itself) for this document
|
| Sections |
Section[]
|
read |
Returns an array of Section objects that represents all the sections in this Document
|
| Styles |
Styles
|
read |
Returns an Styles object that represents the Styles embedded in this document
|
| UseWidowControl |
boolean
|
read write |
Sets or returns a boolean representing if widow control is in effect for this Document
|
| ViewSettings |
WordViewSettings
|
read |
Returns an WordViewSettings object that can be used to get and set various settings that pertain to how Word will display this document
|
| Watermark |
Watermark
|
read |
Returns a Watermark object representing an image or text that
appears in the background of a printed document
|