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
new |
Create a new instance of PowerPoint.Application object |
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 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; }
Office Add-ins
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for