PowerPoint.RequestContext class
RequestContext オブジェクトは、PowerPoint アプリケーションへの要求を容易にします。 Office アドインと PowerPoint アプリケーションは 2 つの異なるプロセスで実行されるため、アドインから PowerPoint オブジェクト モデルにアクセスするには要求コンテキストが必要です。
注釈
使用元
例
// *.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...
});
コンストラクター
| (constructor)(url) |
|
コンストラクターの詳細
(constructor)(url)
RequestContext クラスの新しいインスタンスを作成します
constructor(url?: string);
パラメーター
- url
-
string
プロパティの詳細
application
presentation
sensitivityLabelsCatalog
readonly sensitivityLabelsCatalog: any;
プロパティ値
any