PowerPoint.RequestContext class
Das RequestContext-Objekt erleichtert Anforderungen an die PowerPoint-Anwendung. Da das Office-Add-In und die PowerPoint-Anwendung in zwei verschiedenen Prozessen ausgeführt werden, ist der Anforderungskontext erforderlich, um über das Add-In Zugriff auf das PowerPoint-Objektmodell zu erhalten.
Hinweise
Verwendet von
- PowerPoint: Ausführen
- PowerPoint.Adjustments: kontext
- PowerPoint.Application: Kontext
- PowerPoint.Binding: Kontext
- PowerPoint.BindingCollection: kontext
- PowerPoint.Border: Kontext
- PowerPoint.Borders: Kontext
- PowerPoint.BulletFormat: context
- PowerPoint.CustomProperty: context
- PowerPoint.CustomPropertyCollection: context
- PowerPoint.CustomXmlPart: kontext
- PowerPoint.CustomXmlPartCollection: context
- PowerPoint.CustomXmlPartScopedCollection: context
- PowerPoint.DocumentProperties: kontext
- PowerPoint.Graphic: Kontext
- PowerPoint.Hyperlink: Kontext
- PowerPoint.HyperlinkCollection: kontext
- PowerPoint.HyperlinkScopedCollection: kontext
- PowerPoint.Margins: Kontext
- PowerPoint.PageSetup: Kontext
- PowerPoint.ParagraphFormat: context
- PowerPoint.PlaceholderFormat: context
- PowerPoint.Presentation: Kontext
- PowerPoint.Shape: Kontext
- PowerPoint.ShapeCollection: kontext
- PowerPoint.ShapeFill: Kontext
- PowerPoint.ShapeFont: Kontext
- PowerPoint.ShapeGroup: Kontext
- PowerPoint.ShapeLineFormat: kontext
- PowerPoint.ShapeScopedCollection: kontext
- PowerPoint.Slide: Kontext
- PowerPoint.SlideBackground: kontext
- PowerPoint.SlideBackgroundFill: kontext
- PowerPoint.SlideBackgroundGradientFill: kontext
- PowerPoint.SlideBackgroundPatternFill: context
- PowerPoint.SlideBackgroundPictureOrTextureFill: context
- PowerPoint.SlideBackgroundSolidFill: kontext
- PowerPoint.SlideCollection: Kontext
- PowerPoint.SlideLayout: kontext
- PowerPoint.SlideLayoutBackground: kontext
- PowerPoint.SlideLayoutCollection: kontext
- PowerPoint.SlideMaster: Kontext
- PowerPoint.SlideMasterBackground: kontext
- PowerPoint.SlideMasterCollection: kontext
- PowerPoint.SlideScopedCollection: kontext
- PowerPoint.Table: Kontext
- PowerPoint.TableCell: kontext
- PowerPoint.TableCellCollection: kontext
- PowerPoint.TableColumn: context
- PowerPoint.TableColumnCollection: context
- PowerPoint.TableRow: Kontext
- PowerPoint.TableRowCollection: kontext
- PowerPoint.TableStyleSettings: context
- PowerPoint.Tag: Kontext
- PowerPoint.TagCollection: Kontext
- PowerPoint.TextFrame: kontext
- PowerPoint.TextRange: kontext
- PowerPoint.ThemeColorScheme: kontext
Beispiele
// *.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...
});
Konstruktoren
| (constructor)(url) | Erstellt eine neue instance der |
Eigenschaften
| application | |
| presentation |
Details zum Konstruktor
(constructor)(url)
Erstellt eine neue instance der RequestContext -Klasse
constructor(url?: string);
Parameter
- url
-
string