Excel.RequestContext class
El objeto RequestContext facilita las solicitudes para la aplicación de Excel. Dado que el complemento de Office y la aplicación de Excel se ejecutan en dos procesos diferentes, el contexto de solicitud es necesario para obtener acceso al modelo de objetos de Excel desde el complemento.
Comentarios
Usada por
- Excel: ejecutar
- Excel.Application: context
- Excel.Binding: contexto
- Excel.BindingCollection: context
- Excel.Chart: contexto
- Excel.ChartAreaFormat: context
- Excel.ChartAxes: context
- Excel.ChartAxis: context
- Excel.ChartAxisFormat: context
- Excel.ChartAxisTitle: context
- Excel.ChartAxisTitleFormat: context
- Excel.ChartCollection: context
- Excel.ChartDataLabelFormat: context
- Excel.ChartDataLabels: context
- Excel.ChartFill: contexto
- Excel.ChartFont: context
- Excel.ChartGridlines: context
- Excel.ChartGridlinesFormat: context
- Excel.ChartLegend: context
- Excel.ChartLegendFormat: context
- Excel.ChartLineFormat: context
- Excel.ChartPoint: context
- Excel.ChartPointFormat: context
- Excel.ChartPointsCollection: context
- Excel.ChartSeries: context
- Excel.ChartSeriesCollection: context
- Excel.ChartSeriesFormat: context
- Excel.ChartTitle: context
- Excel.ChartTitleFormat: context
- Excel.Filter: context
- Excel.FormatProtection: context
- Excel.FunctionResult: context
- Excel.Functions: contexto
- Excel.NamedItem: context
- Excel.NamedItemCollection: context
- Excel. Tabla dinámica: contexto
- Excel.PivotTableCollection: context
- Excel.Range: context
- Excel.RangeBorder: context
- Excel.RangeBorderCollection: context
- Excel.RangeFill: contexto
- Excel.RangeFont: context
- Excel.RangeFormat: context
- Excel.RangeSort: context
- Excel.RangeView: context
- Excel.RangeViewCollection: context
- Excel.Table: contexto
- Excel.TableCollection: context
- Excel.TableColumn: context
- Excel.TableColumnCollection: context
- Excel.TableRow: context
- Excel.TableRowCollection: context
- Excel.TableSort: context
- Excel.Workbook: contexto
- Excel.Worksheet: context
- Excel.WorksheetCollection: context
- Excel.WorksheetProtection: contexto
Ejemplos
// *.run methods automatically create an OfficeExtension.ClientRequestContext
// object to work with the Office file.
await Excel.run(async (context: Excel.RequestContext) => {
const workbook = context.workbook;
// Interact with the Excel workbook...
});
Constructores
| (constructor)(url) | Construye una nueva instancia de la clase. |
Propiedades
| application | |
| workbook |
Detalles del constructor
(constructor)(url)
Construye una nueva instancia de la clase.RequestContext
constructor(url?: string | Session);
Parámetros
- url
-
string | Excel.Session