# ExcelSpreadsheetXmlOptions

Resource limits for the explicit XML Spreadsheet 2003 data interchange profile.

Class 

`OfficeIMO.Excel`

**Namespace**

`OfficeIMO.Excel`

**Assembly**

`OfficeIMO.Excel`

**Source revision**

`063fe3ee9839` with working tree changes

**Source**

[ExcelSpreadsheetXmlOptions.cs:6](https://github.com/EvotecIT/OfficeIMO/blob/063fe3ee9839db87940fc9ed8ae72f1f44b10982/OfficeIMO.Excel/SpreadsheetXml/ExcelSpreadsheetXmlOptions.cs#L6)

**Modifiers**

sealed

Resource limits for the explicit XML Spreadsheet 2003 data interchange profile.

## Inheritance

- object
- ExcelSpreadsheetXmlOptions

## Usage

Explore 2 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

### Accepted by parameters 2

- Method [ExcelDocument.ExportSpreadsheetXml](/api/excel/officeimo-excel-exceldocument/#method-exportspreadsheetxml-officeimo-excel-excelspreadsheetxmloptions) parameter `options`
- Method [ExcelDocument.ImportSpreadsheetXml](/api/excel/officeimo-excel-exceldocument/#method-importspreadsheetxml-string-officeimo-excel-excelspreadsheetxmloptions) parameter `options`

Filter members 

Show inherited

## Constructors

`public ExcelSpreadsheetXmlOptions()` [#](#constructor-ctor)

[ExcelSpreadsheetXmlOptions.cs:6](https://github.com/EvotecIT/OfficeIMO/blob/063fe3ee9839db87940fc9ed8ae72f1f44b10982/OfficeIMO.Excel/SpreadsheetXml/ExcelSpreadsheetXmlOptions.cs#L6)

## Inherited Methods

`public virtual bool Equals(object? obj)` [#](#method-equals-object)

Inherited from object

Parameters

**obj object? required**

Returns

`bool`

`public virtual int GetHashCode()` [#](#method-gethashcode)

Inherited from object

Returns

`int`

`public Type GetType()` [#](#method-gettype)

Inherited from object

Returns

`Type`

`public virtual string? ToString()` [#](#method-tostring)

Inherited from object

Returns

`string?`

## Properties

`public int MaxInputBytes { get; set; }` [#](#property-maxinputbytes)

[ExcelSpreadsheetXmlOptions.cs:6](https://github.com/EvotecIT/OfficeIMO/blob/063fe3ee9839db87940fc9ed8ae72f1f44b10982/OfficeIMO.Excel/SpreadsheetXml/ExcelSpreadsheetXmlOptions.cs#L6)

Maximum input bytes, or maximum materialized XLSX snapshot bytes on export. Default: 16 MiB.

`public int MaxOutputBytes { get; set; }` [#](#property-maxoutputbytes)

[ExcelSpreadsheetXmlOptions.cs:8](https://github.com/EvotecIT/OfficeIMO/blob/063fe3ee9839db87940fc9ed8ae72f1f44b10982/OfficeIMO.Excel/SpreadsheetXml/ExcelSpreadsheetXmlOptions.cs#L8)

Maximum XML output bytes and aggregate expanded source XML bytes on export. Default: 64 MiB.

`public int MaxCells { get; set; }` [#](#property-maxcells)

[ExcelSpreadsheetXmlOptions.cs:10](https://github.com/EvotecIT/OfficeIMO/blob/063fe3ee9839db87940fc9ed8ae72f1f44b10982/OfficeIMO.Excel/SpreadsheetXml/ExcelSpreadsheetXmlOptions.cs#L10)

Maximum explicitly stored cells across all worksheets. Default: 1,000,000.

`public int MaxWorksheets { get; set; }` [#](#property-maxworksheets)

[ExcelSpreadsheetXmlOptions.cs:12](https://github.com/EvotecIT/OfficeIMO/blob/063fe3ee9839db87940fc9ed8ae72f1f44b10982/OfficeIMO.Excel/SpreadsheetXml/ExcelSpreadsheetXmlOptions.cs#L12)

Maximum worksheets. Default: 256.

`public int MaxStyles { get; set; }` [#](#property-maxstyles)

[ExcelSpreadsheetXmlOptions.cs:14](https://github.com/EvotecIT/OfficeIMO/blob/063fe3ee9839db87940fc9ed8ae72f1f44b10982/OfficeIMO.Excel/SpreadsheetXml/ExcelSpreadsheetXmlOptions.cs#L14)

Maximum style definitions. Default: 4096.

`public int MaxNames { get; set; }` [#](#property-maxnames)

[ExcelSpreadsheetXmlOptions.cs:16](https://github.com/EvotecIT/OfficeIMO/blob/063fe3ee9839db87940fc9ed8ae72f1f44b10982/OfficeIMO.Excel/SpreadsheetXml/ExcelSpreadsheetXmlOptions.cs#L16)

Maximum defined names imported across all scopes. Default: 10,000.

`public int MaxXmlElements { get; set; }` [#](#property-maxxmlelements)

[ExcelSpreadsheetXmlOptions.cs:18](https://github.com/EvotecIT/OfficeIMO/blob/063fe3ee9839db87940fc9ed8ae72f1f44b10982/OfficeIMO.Excel/SpreadsheetXml/ExcelSpreadsheetXmlOptions.cs#L18)

Maximum XML elements admitted before materialization, including unsupported content. Default: 1,000,000.

`public int MaxXmlDepth { get; set; }` [#](#property-maxxmldepth)

[ExcelSpreadsheetXmlOptions.cs:20](https://github.com/EvotecIT/OfficeIMO/blob/063fe3ee9839db87940fc9ed8ae72f1f44b10982/OfficeIMO.Excel/SpreadsheetXml/ExcelSpreadsheetXmlOptions.cs#L20)

Maximum XML nesting depth. Default: 64.

`public OfficeLength? DefaultFontMaximumDigitWidth { get; set; }` [#](#property-defaultfontmaximumdigitwidth)

[ExcelSpreadsheetXmlOptions.cs:23](https://github.com/EvotecIT/OfficeIMO/blob/063fe3ee9839db87940fc9ed8ae72f1f44b10982/OfficeIMO.Excel/SpreadsheetXml/ExcelSpreadsheetXmlOptions.cs#L23)

Optional measured maximum digit width of the workbook default font at 96 DPI. When omitted, installed font metrics are used, with a reported seven-pixel approximation if unavailable.

`public CancellationToken CancellationToken { get; set; }` [#](#property-cancellationtoken)

[ExcelSpreadsheetXmlOptions.cs:25](https://github.com/EvotecIT/OfficeIMO/blob/063fe3ee9839db87940fc9ed8ae72f1f44b10982/OfficeIMO.Excel/SpreadsheetXml/ExcelSpreadsheetXmlOptions.cs#L25)

Cancellation checked during input, worksheet and cell processing.

<!-- PowerForge markdown artifact sha256:C85239AC717343CCCAE705CB9C007701D7CB5F7E2BD26A9D91A2FC07116BD8C1 -->
