PowerPoint.RequestContext class
RequestContext オブジェクトは、PowerPoint アプリケーションへの要求を容易にします。 Office アドインとPowerPoint アプリケーションは 2 つの異なるプロセスで実行されるため、アドインからPowerPoint オブジェクト モデルにアクセスするには、要求コンテキストが必要です。
注釈
使用元
- PowerPoint: 実行
- PowerPoint.Application: コンテキスト
- PowerPoint.BulletFormat: context
- PowerPoint.ParagraphFormat: context
- PowerPoint.Presentation: コンテキスト
- PowerPoint.Shape: コンテキスト
- PowerPoint.ShapeCollection: コンテキスト
- PowerPoint.ShapeFill: コンテキスト
- PowerPoint.ShapeFont: コンテキスト
- PowerPoint.ShapeLineFormat: コンテキスト
- PowerPoint.Slide: コンテキスト
- PowerPoint.SlideCollection: コンテキスト
- PowerPoint.SlideLayout: コンテキスト
- PowerPoint.SlideLayoutCollection: context
- PowerPoint.SlideMaster: コンテキスト
- PowerPoint.SlideMasterCollection: コンテキスト
- PowerPoint.Tag: コンテキスト
- PowerPoint.TagCollection: context
- PowerPoint.TextFrame: コンテキスト
- PowerPoint.TextRange: context
例
// *.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) |
|
プロパティ
| application | |
| presentation |
コンストラクターの詳細
(constructor)(url)
RequestContext クラスの新しいインスタンスを構築します
constructor(url?: string);
パラメーター
- url
-
string