Excel.RequestContext class
Das RequestContext-Objekt erleichtert Anforderungen an die Excel-Anwendung. Da das Office-Add-In und die Excel-Anwendung in zwei verschiedenen Prozessen ausgeführt werden, ist der Anforderungskontext erforderlich, um über das Add-In Zugriff auf das Excel-Objektmodell zu erhalten.
Hinweise
Verwendet von
- Excel: Ausführen
- Excel.Application: Kontext
- Excel.Binding: kontext
- Excel.BindingCollection: kontext
- Excel.CellValueConditionalFormat: context
- Excel.Chart: Kontext
- Excel.ChartAreaFormat: context
- Excel.ChartAxes: kontext
- Excel.ChartAxis: kontext
- Excel.ChartAxisFormat: context
- Excel.ChartAxisTitle: kontext
- Excel.ChartAxisTitleFormat: context
- Excel.ChartBorder: context
- Excel.ChartCollection: kontext
- Excel.ChartDataLabel: context
- Excel.ChartDataLabelFormat: context
- Excel.ChartDataLabels: context
- Excel.ChartFill: kontext
- Excel.ChartFont: kontext
- Excel.ChartFormatString: context
- Excel.ChartGridlines: kontext
- Excel.ChartGridlinesFormat: context
- Excel.ChartLegend: kontext
- Excel.ChartLegendEntry: context
- Excel.ChartLegendEntryCollection: kontext
- Excel.ChartLegendFormat: context
- Excel.ChartLineFormat: context
- Excel.ChartPoint: Kontext
- Excel.ChartPointFormat: context
- Excel.ChartPointsCollection: kontext
- Excel.ChartSeries: Kontext
- Excel.ChartSeriesCollection: kontext
- Excel.ChartSeriesFormat: context
- Excel.ChartTitle: kontext
- Excel.ChartTitleFormat: context
- Excel.ChartTrendline: kontext
- Excel.ChartTrendlineCollection: kontext
- Excel.ChartTrendlineFormat: context
- Excel.ColorScaleConditionalFormat: context
- Excel.ConditionalDataBarNegativeFormat: context
- Excel.ConditionalDataBarPositiveFormat: context
- Excel.ConditionalFormat: kontext
- Excel.ConditionalFormatCollection: kontext
- Excel.ConditionalFormatRule: context
- Excel.ConditionalRangeBorder: context
- Excel.ConditionalRangeBorderCollection: context
- Excel.ConditionalRangeFill: context
- Excel.ConditionalRangeFont: context
- Excel.ConditionalRangeFormat: context
- Excel.CustomConditionalFormat: context
- Excel.CustomProperty: context
- Excel.CustomPropertyCollection: kontext
- Excel.CustomXmlPart: kontext
- Excel.CustomXmlPartCollection: kontext
- Excel.CustomXmlPartScopedCollection: kontext
- Excel.DataBarConditionalFormat: context
- Excel.DataConnectionCollection: kontext
- Excel.DocumentProperties: kontext
- Excel.Filter: Kontext
- Excel.FormatProtection: kontext
- Excel.FunctionResult: kontext
- Excel.Functions: Kontext
- Excel.IconSetConditionalFormat: context
- Excel.NamedItem: context
- Excel.NamedItemArrayValues: context
- Excel.NamedItemCollection: kontext
- Excel.PivotTable: Kontext
- Excel.PivotTableCollection: kontext
- Excel.PresetCriteriaConditionalFormat: context
- Excel.Range: Kontext
- Excel.RangeBorder: context
- Excel.RangeBorderCollection: kontext
- Excel.RangeFill: kontext
- Excel.RangeFont: kontext
- Excel.RangeFormat: kontext
- Excel.RangeSort: Kontext
- Excel.RangeView: Kontext
- Excel.RangeViewCollection: kontext
- Excel.Runtime: Kontext
- Excel.Setting: kontext
- Excel.SettingCollection: kontext
- Excel.Style: Kontext
- Excel.StyleCollection: kontext
- Excel.Table: Kontext
- Excel.TableCollection: kontext
- Excel.TableColumn: context
- Excel.TableColumnCollection: context
- Excel.TableRow: kontext
- Excel.TableRowCollection: kontext
- Excel.TableSort: kontext
- Excel.TextConditionalFormat: context
- Excel.TopBottomConditionalFormat: context
- Excel.Workbook: Kontext
- Excel.WorkbookProtection: kontext
- Excel.Worksheet: kontext
- Excel.WorksheetCollection: kontext
- Excel.WorksheetFreezePanes: context
- Excel.WorksheetProtection: context
Beispiele
// *.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...
});
Konstruktoren
| (constructor)(url) | Erstellt eine neue instance der |
Eigenschaften
| application | |
| runtime | |
| workbook |
Details zum Konstruktor
(constructor)(url)
Erstellt eine neue instance der RequestContext -Klasse
constructor(url?: string | Session);
Parameter
- url
-
string | Excel.Session