Word.Interfaces.DocumentCreatedLoadOptions interface

The DocumentCreated object is the top level object created by Application.CreateDocument. A DocumentCreated object is a special Document object.

Remarks

[ API set: WordApi 1.3 ]

Properties

$all

Specifying $all for the LoadOptions loads all the scalar properties (e.g.: Range.address) but not the navigational properties (e.g.: Range.format.fill.color).

body

Gets the body object of the document. The body is the text that excludes headers, footers, footnotes, textboxes, etc.

properties

Gets the properties of the document.

saved

Indicates whether the changes in the document have been saved. A value of true indicates that the document hasn't changed since it was saved.

Property Details

$all

Specifying $all for the LoadOptions loads all the scalar properties (e.g.: Range.address) but not the navigational properties (e.g.: Range.format.fill.color).

$all?: boolean;

Property Value

boolean

body

Gets the body object of the document. The body is the text that excludes headers, footers, footnotes, textboxes, etc.

body?: Word.Interfaces.BodyLoadOptions;

Property Value

Remarks

[ API set: WordApiHiddenDocument 1.3 ]

properties

Gets the properties of the document.

properties?: Word.Interfaces.DocumentPropertiesLoadOptions;

Property Value

Remarks

[ API set: WordApiHiddenDocument 1.3 ]

saved

Indicates whether the changes in the document have been saved. A value of true indicates that the document hasn't changed since it was saved.

saved?: boolean;

Property Value

boolean

Remarks

[ API set: WordApiHiddenDocument 1.3 ]