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: context
- Excel.BindingCollection: contexto
- Excel.Chart: contexto
- Excel.ChartAreaFormat: context
- Excel.ChartAxes: context
- Excel.ChartAxis: contexto
- Excel.ChartAxisFormat: context
- Excel.ChartAxisTitle: context
- Excel.ChartAxisTitleFormat: context
- Excel.ChartCollection: context
- Excel.ChartDataLabelFormat: context
- Excel.ChartDataLabels: context
- Excel.ChartFill: contexto
- Excel.ChartFont: contexto
- Excel.ChartGridlines: contexto
- Excel.ChartGridlinesFormat: context
- Excel.ChartLegend: context
- Excel.ChartLegendFormat: context
- Excel.ChartLineFormat: context
- Excel.ChartPoint: contexto
- Excel.ChartPointFormat: context
- Excel.ChartPointsCollection: context
- Excel.ChartSeries: contexto
- Excel.ChartSeriesCollection: context
- Excel.ChartSeriesFormat: context
- Excel.ChartTitle: context
- Excel.ChartTitleFormat: context
- Excel.Filter: contexto
- Excel.FormatProtection: context
- Excel.FunctionResult: contexto
- Excel.Functions: contexto
- Excel.NamedItem: context
- Excel.NamedItemCollection: context
- Excel.PivotTable: contexto
- Excel.PivotTableCollection: context
- Excel.Range: contexto
- Excel.RangeBorder: contexto
- Excel.RangeBorderCollection: context
- Excel.RangeFill: contexto
- Excel.RangeFont: contexto
- Excel.RangeFormat: contexto
- Excel.RangeSort: contexto
- Excel.RangeView: contexto
- Excel.RangeViewCollection: context
- Excel.Table: contexto
- Excel.TableCollection: contexto
- Excel.TableColumn: context
- Excel.TableColumnCollection: context
- Excel.TableRow: contexto
- Excel.TableRowCollection: context
- Excel.TableSort: contexto
- Excel.Workbook: context
- Excel.Worksheet: contexto
- Excel.WorksheetCollection: contexto
- Excel.WorksheetProtection: context
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 |
Propiedades
| application | |
| workbook |
Detalles del constructor
(constructor)(url)
Construye una nueva instancia de la RequestContext clase
constructor(url?: string | Session);
Parámetros
- url
-
string | Excel.Session