Word.Application class

Represents the application object.

[ API set: WordApi 1.3 ]

Extends
OfficeExtension.ClientObject

Methods

createDocument(base64File)

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

[ API set: WordApi 1.3 ]

newObject(context)

Create a new instance of Word.Application object

toJSON()

Method Details

createDocument(base64File)

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

[ API set: WordApi 1.3 ]

createDocument(base64File?: string): Word.DocumentCreated;
Parameters
base64File
string

Optional. The base64 encoded .docx file. The default value is null.

Returns

newObject(context)

Create a new instance of Word.Application object

static newObject(context: OfficeExtension.ClientRequestContext): Word.Application;
Parameters
Returns
Word.Application

toJSON()

toJSON:
Returns
{ [key: string]: string; }