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 vom Add-In aus 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: Kontext
- PowerPoint.CustomProperty: Kontext
- PowerPoint.CustomPropertyCollection: Kontext
- PowerPoint.CustomXmlPart: Kontext
- PowerPoint.CustomXmlPartCollection: Kontext
- PowerPoint.CustomXmlPartScopedCollection: Kontext
- PowerPoint.DocumentProperties: Kontext
- PowerPoint.Graphic: Kontext
- PowerPoint.Hyperlink: Kontext
- PowerPoint.HyperlinkCollection: Kontext
- PowerPoint.HyperlinkScopedCollection: Kontext
- PowerPoint.Margins: Kontext
- PowerPoint.PageSetup: Kontext
- PowerPoint.ParagraphFormat: Kontext
- PowerPoint.PlaceholderFormat: Kontext
- PowerPoint.Presentation: Kontext
- PowerPoint.SensitivityLabel: Kontext
- PowerPoint.SensitivityLabelAbacAttribute: Kontext
- PowerPoint.SensitivityLabelAbacAttributeValue: Kontext
- PowerPoint.SensitivityLabelDetails: Kontext
- PowerPoint.SensitivityLabelDetailsCollection: Kontext
- PowerPoint.SensitivityLabelsCatalog: 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: Kontext
- PowerPoint.SlideBackgroundPictureOrTextureFill: Kontext
- 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: Kontext
- PowerPoint.TableColumnCollection: Kontext
- PowerPoint.TableRow: Kontext
- PowerPoint.TableRowCollection: Kontext
- PowerPoint.TableStyleSettings: Kontext
- 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 | |
| sensitivity |
Details zum Konstruktor
(constructor)(url)
Erstellt eine neue Instance der RequestContext Klasse
constructor(url?: string);
Parameter
- url
-
string
Details zur Eigenschaft
application
presentation
sensitivityLabelsCatalog
readonly sensitivityLabelsCatalog: any;
Eigenschaftswert
any