Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

PowerPoint.RequestContext class

Package:
powerpoint

The RequestContext object facilitates requests to the PowerPoint application. Since the Office add-in and the PowerPoint application run in two different processes, the request context is required to get access to the PowerPoint object model from the add-in.

Remarks

Used by

Examples

// *.run methods automatically create an OfficeExtension.ClientRequestContext
// object to work with the Office file.
await PowerPoint.run(async (context) => {
 const presentation = context.presentation;
 // Interact with the PowerPoint presentation...
});

Constructors

(constructor)(url)

Constructs a new instance of the RequestContext class

Constructor Details

(constructor)(url)

Constructs a new instance of the RequestContext class

constructor(url?: string);

Parameters

url

string

Property Details

application

readonly application: Application;

Property Value

presentation

readonly presentation: Presentation;

Property Value

sensitivityLabelsCatalog

readonly sensitivityLabelsCatalog: any;

Property Value

any


Feedback

Was this page helpful?