Word.Interfaces.DocumentPropertiesLoadOptions interface

Represents document properties.

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).

applicationName

Gets the application name of the document.

author

Specifies the author of the document.

category

Specifies the category of the document.

comments

Specifies the comments of the document.

company

Specifies the company of the document.

creationDate

Gets the creation date of the document.

format

Specifies the format of the document.

keywords

Specifies the keywords of the document.

lastAuthor

Gets the last author of the document.

lastPrintDate

Gets the last print date of the document.

lastSaveTime

Gets the last save time of the document.

manager

Specifies the manager of the document.

revisionNumber

Gets the revision number of the document.

security

Gets security settings of the document. Some are access restrictions on the file on disk. Others are Document Protection settings. Some possible values are 0 = File on disk is read/write; 1 = Protect Document: File is encrypted and requires a password to open; 2 = Protect Document: Always Open as Read-Only; 3 = Protect Document: Both #1 and #2; 4 = File on disk is read-only; 5 = Both #1 and #4; 6 = Both #2 and #4; 7 = All of #1, #2, and #4; 8 = Protect Document: Restrict Edit to read-only; 9 = Both #1 and #8; 10 = Both #2 and #8; 11 = All of #1, #2, and #8; 12 = Both #4 and #8; 13 = All of #1, #4, and #8; 14 = All of #2, #4, and #8; 15 = All of #1, #2, #4, and #8.

subject

Specifies the subject of the document.

template

Gets the template of the document.

title

Specifies the title of the document.

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

applicationName

Gets the application name of the document.

applicationName?: boolean;

Property Value

boolean

Remarks

[ API set: WordApi 1.3 ]

author

Specifies the author of the document.

author?: boolean;

Property Value

boolean

Remarks

[ API set: WordApi 1.3 ]

category

Specifies the category of the document.

category?: boolean;

Property Value

boolean

Remarks

[ API set: WordApi 1.3 ]

comments

Specifies the comments of the document.

comments?: boolean;

Property Value

boolean

Remarks

[ API set: WordApi 1.3 ]

company

Specifies the company of the document.

company?: boolean;

Property Value

boolean

Remarks

[ API set: WordApi 1.3 ]

creationDate

Gets the creation date of the document.

creationDate?: boolean;

Property Value

boolean

Remarks

[ API set: WordApi 1.3 ]

format

Specifies the format of the document.

format?: boolean;

Property Value

boolean

Remarks

[ API set: WordApi 1.3 ]

keywords

Specifies the keywords of the document.

keywords?: boolean;

Property Value

boolean

Remarks

[ API set: WordApi 1.3 ]

lastAuthor

Gets the last author of the document.

lastAuthor?: boolean;

Property Value

boolean

Remarks

[ API set: WordApi 1.3 ]

lastPrintDate

Gets the last print date of the document.

lastPrintDate?: boolean;

Property Value

boolean

Remarks

[ API set: WordApi 1.3 ]

lastSaveTime

Gets the last save time of the document.

lastSaveTime?: boolean;

Property Value

boolean

Remarks

[ API set: WordApi 1.3 ]

manager

Specifies the manager of the document.

manager?: boolean;

Property Value

boolean

Remarks

[ API set: WordApi 1.3 ]

revisionNumber

Gets the revision number of the document.

revisionNumber?: boolean;

Property Value

boolean

Remarks

[ API set: WordApi 1.3 ]

security

Gets security settings of the document. Some are access restrictions on the file on disk. Others are Document Protection settings. Some possible values are 0 = File on disk is read/write; 1 = Protect Document: File is encrypted and requires a password to open; 2 = Protect Document: Always Open as Read-Only; 3 = Protect Document: Both #1 and #2; 4 = File on disk is read-only; 5 = Both #1 and #4; 6 = Both #2 and #4; 7 = All of #1, #2, and #4; 8 = Protect Document: Restrict Edit to read-only; 9 = Both #1 and #8; 10 = Both #2 and #8; 11 = All of #1, #2, and #8; 12 = Both #4 and #8; 13 = All of #1, #4, and #8; 14 = All of #2, #4, and #8; 15 = All of #1, #2, #4, and #8.

security?: boolean;

Property Value

boolean

Remarks

[ API set: WordApi 1.3 ]

subject

Specifies the subject of the document.

subject?: boolean;

Property Value

boolean

Remarks

[ API set: WordApi 1.3 ]

template

Gets the template of the document.

template?: boolean;

Property Value

boolean

Remarks

[ API set: WordApi 1.3 ]

title

Specifies the title of the document.

title?: boolean;

Property Value

boolean

Remarks

[ API set: WordApi 1.3 ]