PowerPoint.Application class

Extends

Remarks

[ API set: PowerPointApi 1.0 ]

Properties

context

The request context associated with the object. This connects the add-in's process to the Office host application's process.

Methods

newObject(context)

Create a new instance of the PowerPoint.Application object.

toJSON()

Overrides the JavaScript toJSON() method in order to provide more useful output when an API object is passed to JSON.stringify(). (JSON.stringify, in turn, calls the toJSON method of the object that is passed to it.) Whereas the original PowerPoint.Application object is an API object, the toJSON method returns a plain JavaScript object (typed as PowerPoint.Interfaces.ApplicationData) that contains shallow copies of any loaded child properties from the original object.

Property Details

context

The request context associated with the object. This connects the add-in's process to the Office host application's process.

context: RequestContext;

Property Value

Method Details

newObject(context)

Create a new instance of the PowerPoint.Application object.

static newObject(context: OfficeExtension.ClientRequestContext): PowerPoint.Application;

Parameters

Returns

toJSON()

Overrides the JavaScript toJSON() method in order to provide more useful output when an API object is passed to JSON.stringify(). (JSON.stringify, in turn, calls the toJSON method of the object that is passed to it.) Whereas the original PowerPoint.Application object is an API object, the toJSON method returns a plain JavaScript object (typed as PowerPoint.Interfaces.ApplicationData) that contains shallow copies of any loaded child properties from the original object.

toJSON(): {
            [key: string]: string;
        };

Returns

{ [key: string]: string; }