PowerPoint.RequestContext class
O objeto RequestContext facilita as solicitações para o aplicativo PowerPoint. Como o suplemento do Office e o aplicativo PowerPoint são executados em dois processos diferentes, o contexto de solicitação é necessário para obter acesso ao modelo de objeto do PowerPoint do suplemento.
Comentários
Usada por
- PowerPoint: executar
- PowerPoint.Application: context
- PowerPoint.BulletFormat: context
- PowerPoint.ParagraphFormat: context
- PowerPoint.Presentation: contexto
- PowerPoint.Shape: contexto
- PowerPoint.ShapeCollection: context
- PowerPoint.ShapeFill: contexto
- PowerPoint.ShapeFont: contexto
- PowerPoint.ShapeLineFormat: context
- PowerPoint.Slide: contexto
- PowerPoint.SlideCollection: context
- PowerPoint.SlideLayout: contexto
- PowerPoint.SlideLayoutCollection: context
- PowerPoint.SlideMaster: contexto
- PowerPoint.SlideMasterCollection: context
- PowerPoint.Tag: contexto
- PowerPoint.TagCollection: context
- PowerPoint.TextFrame: contexto
- PowerPoint.TextRange: context
Exemplos
// *.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...
});
Construtores
| (constructor)(url) | Constrói uma nova instância da |
Propriedades
| application | |
| presentation | |
| sensitivity |
Detalhes do construtor
(constructor)(url)
Constrói uma nova instância da RequestContext classe
constructor(url?: string);
Parâmetros
- url
-
string
Detalhes da propriedade
application
presentation
sensitivityLabelsCatalog
readonly sensitivityLabelsCatalog: any;
Valor da propriedade
any