PowerPoint.Application class
Represents the PowerPoint application that manages the presentation.
- Extends
Remarks
Properties
| context | The request context associated with the object. This connects the add-in's process to the Office host application's process. |
Methods
| new |
Create a new instance of the |
| toJSON() | Overrides the JavaScript |
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's 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; }