Word.Interfaces.DocumentPropertiesLoadOptions interface

Represents document properties.

[ API set: WordApi 1.3 ]

Properties

$all
applicationName

Gets the application name of the document. Read only.

[ API set: WordApi 1.3 ]

author

Gets or sets the author of the document.

[ API set: WordApi 1.3 ]

category

Gets or sets the category of the document.

[ API set: WordApi 1.3 ]

comments

Gets or sets the comments of the document.

[ API set: WordApi 1.3 ]

company

Gets or sets the company of the document.

[ API set: WordApi 1.3 ]

creationDate

Gets the creation date of the document. Read only.

[ API set: WordApi 1.3 ]

format

Gets or sets the format of the document.

[ API set: WordApi 1.3 ]

keywords

Gets or sets the keywords of the document.

[ API set: WordApi 1.3 ]

lastAuthor

Gets the last author of the document. Read only.

[ API set: WordApi 1.3 ]

lastPrintDate

Gets the last print date of the document. Read only.

[ API set: WordApi 1.3 ]

lastSaveTime

Gets the last save time of the document. Read only.

[ API set: WordApi 1.3 ]

manager

Gets or sets the manager of the document.

[ API set: WordApi 1.3 ]

revisionNumber

Gets the revision number of the document. Read only.

[ API set: WordApi 1.3 ]

security

Gets security settings of the document. Read only. 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.

[ API set: WordApi 1.3 ]

subject

Gets or sets the subject of the document.

[ API set: WordApi 1.3 ]

template

Gets the template of the document. Read only.

[ API set: WordApi 1.3 ]

title

Gets or sets the title of the document.

[ API set: WordApi 1.3 ]

Property Details

$all

$all?: boolean;

Property Value

boolean

applicationName

Gets the application name of the document. Read only.

[ API set: WordApi 1.3 ]

applicationName?: boolean;

Property Value

boolean

author

Gets or sets the author of the document.

[ API set: WordApi 1.3 ]

author?: boolean;

Property Value

boolean

category

Gets or sets the category of the document.

[ API set: WordApi 1.3 ]

category?: boolean;

Property Value

boolean

comments

Gets or sets the comments of the document.

[ API set: WordApi 1.3 ]

comments?: boolean;

Property Value

boolean

company

Gets or sets the company of the document.

[ API set: WordApi 1.3 ]

company?: boolean;

Property Value

boolean

creationDate

Gets the creation date of the document. Read only.

[ API set: WordApi 1.3 ]

creationDate?: boolean;

Property Value

boolean

format

Gets or sets the format of the document.

[ API set: WordApi 1.3 ]

format?: boolean;

Property Value

boolean

keywords

Gets or sets the keywords of the document.

[ API set: WordApi 1.3 ]

keywords?: boolean;

Property Value

boolean

lastAuthor

Gets the last author of the document. Read only.

[ API set: WordApi 1.3 ]

lastAuthor?: boolean;

Property Value

boolean

lastPrintDate

Gets the last print date of the document. Read only.

[ API set: WordApi 1.3 ]

lastPrintDate?: boolean;

Property Value

boolean

lastSaveTime

Gets the last save time of the document. Read only.

[ API set: WordApi 1.3 ]

lastSaveTime?: boolean;

Property Value

boolean

manager

Gets or sets the manager of the document.

[ API set: WordApi 1.3 ]

manager?: boolean;

Property Value

boolean

revisionNumber

Gets the revision number of the document. Read only.

[ API set: WordApi 1.3 ]

revisionNumber?: boolean;

Property Value

boolean

security

Gets security settings of the document. Read only. 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.

[ API set: WordApi 1.3 ]

security?: boolean;

Property Value

boolean

subject

Gets or sets the subject of the document.

[ API set: WordApi 1.3 ]

subject?: boolean;

Property Value

boolean

template

Gets the template of the document. Read only.

[ API set: WordApi 1.3 ]

template?: boolean;

Property Value

boolean

title

Gets or sets the title of the document.

[ API set: WordApi 1.3 ]

title?: boolean;

Property Value

boolean