DocumentProperties Object (JavaScript API for Word)

Word 2016, Word for iPad, Word for Mac, Word Online

Represents document properties.

Properties

Property Type Description Req. Set
applicationName string Gets the application name of the document. Read only. Read-only. 1.3
author string Gets or sets the author of the document. 1.3
category string Gets or sets the category of the document. 1.3
comments string Gets or sets the comments of the document. 1.3
company string Gets or sets the company of the document. 1.3
format string Gets or sets the format of the document. 1.3
keywords string Gets or sets the keywords of the document. 1.3
lastAuthor string Gets the last author of the document. Read only. Read-only. 1.3
manager string Gets or sets the manager of the document. 1.3
revisionNumber string Gets the revision number of the document. Read only. Read-only. 1.3
security int Gets the security of the document. Read only. Read-only. 1.3
subject string Gets or sets the subject of the document. 1.3
template string Gets the template of the document. Read only. Read-only. 1.3
title string Gets or sets the title of the document. 1.3

See property access examples.

Relationships

Relationship Type Description Req. Set
creationDate DateTime Gets the creation date of the document. Read only. Read-only. 1.3
customProperties CustomPropertyCollection Gets the collection of custom properties of the document. Read only. Read-only. 1.3
lastPrintDate DateTime Gets the last print date of the document. Read only. Read-only. 1.3
lastSaveTime DateTime Gets the last save time of the document. Read only. Read-only. 1.3

Methods

Method Return Type Description Req. Set
load(param: object) void Fills the proxy object created in JavaScript layer with property and object values specified in the parameter. 1.1

Method Details

load(param: object)

Fills the proxy object created in JavaScript layer with property and object values specified in the parameter.

Syntax

object.load(param);

Parameters

Parameter Type Description
param object Optional. Accepts parameter and relationship names as delimited string or an array. Or, provide loadOption object.

Returns

void