PowerPoint.RequestContext class
L’objet RequestContext facilite les requêtes adressées à 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 : context
- PowerPoint.Border : contexte
- PowerPoint.Borders : context
- PowerPoint.BulletFormat : context
- PowerPoint.CustomProperty : context
- PowerPoint.CustomPropertyCollection : context
- PowerPoint.CustomXmlPart : context
- PowerPoint.CustomXmlPartCollection : context
- PowerPoint.CustomXmlPartScopedCollection : context
- PowerPoint.DocumentProperties : context
- PowerPoint.Graphic : contexte
- PowerPoint.Hyperlink : contexte
- PowerPoint.HyperlinkCollection : context
- PowerPoint.HyperlinkScopedCollection : context
- PowerPoint.Margins : contexte
- PowerPoint.PageSetup : contexte
- PowerPoint.ParagraphFormat : context
- PowerPoint.PlaceholderFormat : context
- PowerPoint.Presentation : contexte
- PowerPoint.Shape : contexte
- PowerPoint.ShapeCollection : context
- PowerPoint.ShapeFill : context
- PowerPoint.ShapeFont : context
- PowerPoint.ShapeGroup : context
- PowerPoint.ShapeLineFormat : context
- PowerPoint.ShapeScopedCollection : context
- PowerPoint.Slide : contexte
- PowerPoint.SlideBackground : contexte
- PowerPoint.SlideBackgroundFill : context
- PowerPoint.SlideBackgroundGradientFill : context
- PowerPoint.SlideBackgroundPatternFill : context
- PowerPoint.SlideBackgroundPictureOrTextureFill : context
- PowerPoint.SlideBackgroundSolidFill : context
- PowerPoint.SlideCollection : context
- PowerPoint.SlideLayout : context
- PowerPoint.SlideLayoutBackground : contexte
- PowerPoint.SlideLayoutCollection : context
- PowerPoint.SlideMaster : contexte
- PowerPoint.SlideMasterBackground : context
- PowerPoint.SlideMasterCollection : context
- PowerPoint.SlideScopedCollection : context
- PowerPoint.Table : contexte
- PowerPoint.TableCell : context
- PowerPoint.TableCellCollection : context
- PowerPoint.TableColumn : context
- PowerPoint.TableColumnCollection : context
- PowerPoint.TableRow : contexte
- PowerPoint.TableRowCollection : context
- PowerPoint.TableStyleSettings : context
- PowerPoint.Tag : context
- PowerPoint.TagCollection : context
- PowerPoint.TextFrame : contexte
- PowerPoint.TextRange : context
- PowerPoint.ThemeColorScheme : context
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 |
Détails du constructeur
(constructor)(url)
Construit une nouvelle instance de la RequestContext classe
constructor(url?: string);
Paramètres
- url
-
string