Application Object (JavaScript API for Word)

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

Represents the application object.

Properties

None

Relationships

None

Methods

Method Return Type Description Req. Set
createDocument(base64File: string) Document Creates a new document by using a base64 encoded .docx file. 1.3

Method Details

createDocument(base64File: string)

Creates a new document by using a base64 encoded .docx file.

Syntax

context.applicationObject.createDocument(base64File);

Parameters

Parameter Type Description
base64File string Optional. Optional. The base64 encoded .docx file. The default value is null.

Returns

Document