PowerPoint.RequestContext class
L’objet RequestContext facilite les demandes à l’application PowerPoint. Étant donné que le complément Office et l’application PowerPoint s’exécutent dans deux processus différents, le contexte de demande est nécessaire pour accéder au modèle objet PowerPoint à partir du complément.
Remarques
Utilisateur
- PowerPoint : exécuter
- PowerPoint.Adjustments : contexte
- PowerPoint.Application : contexte
- PowerPoint.Binding : contexte
- PowerPoint.BindingCollection : contexte
- PowerPoint.Border : contexte
- PowerPoint.Borders : contexte
- PowerPoint.BulletFormat : contexte
- PowerPoint.CustomProperty : contexte
- PowerPoint.CustomPropertyCollection : contexte
- PowerPoint.CustomXmlPart : contexte
- PowerPoint.CustomXmlPartCollection : contexte
- PowerPoint.CustomXmlPartScopedCollection : contexte
- PowerPoint.DocumentProperties : contexte
- PowerPoint.Graphic :contexte
- PowerPoint.Hyperlink : contexte
- PowerPoint.HyperlinkCollection : contexte
- PowerPoint.HyperlinkScopedCollection : contexte
- PowerPoint.Margins : contexte
- PowerPoint.PageSetup : contexte
- PowerPoint.ParagraphFormat : contexte
- PowerPoint.PlaceholderFormat : contexte
- PowerPoint.Presentation :contexte
- PowerPoint.SensitivityLabel : contexte
- PowerPoint.SensitivityLabelAbacAttribute : context
- PowerPoint.SensitivityLabelAbacAttributeValue : contexte
- PowerPoint.SensitivityLabelDetails : contexte
- PowerPoint.SensitivityLabelDetailsCollection : contexte
- PowerPoint.SensitivityLabelsCatalog : contexte
- PowerPoint.Shape : contexte
- PowerPoint.ShapeCollection : contexte
- PowerPoint.ShapeFill : contexte
- PowerPoint.ShapePolice : contexte
- PowerPoint.ShapeGroup : contexte
- PowerPoint.ShapeLineFormat : contexte
- PowerPoint.ShapeScopedCollection : contexte
- PowerPoint.Slide : contexte
- PowerPoint.SlideBackground : contexte
- PowerPoint.SlideBackgroundFill : contexte
- PowerPoint.SlideBackgroundGradientFill : contexte
- PowerPoint.SlideBackgroundPatternFill : contexte
- PowerPoint.SlideBackgroundPictureOrTextureFill : contexte
- PowerPoint.SlideBackgroundSolidFill : contexte
- PowerPoint.SlideCollection : contexte
- PowerPoint.SlideLayout : contexte
- PowerPoint.SlideLayoutBackground : contexte
- PowerPoint.SlideLayoutCollection : contexte
- PowerPoint.SlideMaster : contexte
- PowerPoint.SlideMasterBackground : contexte
- PowerPoint.SlideMasterCollection : contexte
- PowerPoint.SlideScopedCollection : contexte
- PowerPoint.Table : contexte
- PowerPoint.TableCell : contexte
- PowerPoint.TableCellCollection : contexte
- PowerPoint.TableColumn : contexte
- PowerPoint.TableColumnCollection : contexte
- PowerPoint.TableRow : contexte
- PowerPoint.TableRowCollection : contexte
- PowerPoint.TableStyleSettings : contexte
- PowerPoint.Tag : contexte
- PowerPoint.TagCollection : contexte
- PowerPoint.TextFrame : contexte
- PowerPoint.TextRange : contexte
- PowerPoint.ThemeColorScheme : contexte
Exemples
// *.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...
});
Constructeurs
| (constructor)(url) | Construit une nouvelle instance de la |
Propriétés
| application | |
| presentation | |
| sensitivity |
Détails du constructeur
(constructor)(url)
Construit une nouvelle instance de la RequestContext classe
constructor(url?: string);
Paramètres
- url
-
string
Détails de la propriété
application
presentation
sensitivityLabelsCatalog
readonly sensitivityLabelsCatalog: any;
Valeur de propriété
any