PowerPoint.RequestContext class
O objeto RequestContext facilita os pedidos para a aplicação PowerPoint. Uma vez que o suplemento do Office e a aplicação PowerPoint são executados em dois processos diferentes, o contexto do pedido é necessário para obter acesso ao modelo de objetos do PowerPoint a partir do suplemento.
Comentários
Usada por
- PowerPoint: executar
- PowerPoint.Application: contexto
- PowerPoint.BulletFormat: contexto
- PowerPoint.Hyperlink: contexto
- PowerPoint.HyperlinkCollection: contexto
- PowerPoint.ParagraphFormat: contexto
- PowerPoint.Presentation: contexto
- PowerPoint.Shape: contexto
- PowerPoint.ShapeCollection: contexto
- PowerPoint.ShapeFill: contexto
- PowerPoint.ShapeFont: contexto
- PowerPoint.ShapeLineFormat: contexto
- PowerPoint.ShapeScopedCollection: contexto
- PowerPoint.Slide: contexto
- PowerPoint.SlideCollection: contexto
- PowerPoint.SlideLayout: contexto
- PowerPoint.SlideLayoutCollection: contexto
- PowerPoint.SlideMaster: contexto
- PowerPoint.SlideMasterCollection: contexto
- PowerPoint.SlideScopedCollection: contexto
- PowerPoint.Tag: contexto
- PowerPoint.TagCollection: contexto
- PowerPoint.TextFrame: contexto
- PowerPoint.TextRange: contexto
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 |
Detalhes do construtor
(constructor)(url)
Constrói uma nova instância da RequestContext classe
constructor(url?: string);
Parâmetros
- url
-
string