# ExcelFileFormat

Identifies an Excel file's physical format.

Enum 

`OfficeIMO.Excel`

**Namespace**

`OfficeIMO.Excel`

**Assembly**

`OfficeIMO.Excel`

**Source revision**

`70033815508f` with working tree changes

**Source**

[ExcelDocument.Conversion.Models.cs:7](https://github.com/EvotecIT/OfficeIMO/blob/70033815508f5804dab5924268dfa6831d9b08cd/OfficeIMO.Excel/ExcelDocument.Conversion.Models.cs#L7)

**Base**

`Enum`

**Implements**

`IComparable` `ISpanFormattable` `IFormattable` `IConvertible`

**Modifiers**

sealed

Identifies an Excel file's physical format.

## Inheritance

- Enum
- ExcelFileFormat

## Guides & Samples

Authored walkthroughs and practical samples linked to this API.

- [Large Files and Streaming](/docs/excel/large-files/) Guide
  
  Write hundreds of thousands of Excel rows with bounded memory and read large XLSX and XLSB sheets fast with OfficeIMO.Excel streaming APIs.

## Usage

Explore 7 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.

### Returned or exposed by 5

- Property [ExcelDocument.SourceFormat](/api/excel/officeimo-excel-exceldocument/#property-sourceformat)
- Field [ExcelFileFormat.Xls](/api/excel/officeimo-excel-excelfileformat/#field-xls)
- Field [ExcelFileFormat.Xlsb](/api/excel/officeimo-excel-excelfileformat/#field-xlsb)
- Field [ExcelFileFormat.Xlsx](/api/excel/officeimo-excel-excelfileformat/#field-xlsx)
- Property [ExcelSaveOptions.Format](/api/excel/officeimo-excel-excelsaveoptions/#property-format)

### Accepted by parameters 2

- Method [ExcelDocument.CreateWriter](/api/excel/officeimo-excel-exceldocument/#method-createwriter-officeimo-excel-excelfileformat-string-officeimo-excel-excelwriteroptions-officeimo-officetheme) parameter `format`
- Method [ExcelFormatCapabilityEntry.GetStatus](/api/excel/officeimo-excel-excelformatcapabilityentry/#method-getstatus-officeimo-excel-excelfileformat) parameter `format`

Filter members 

Show inherited

## Inherited Methods

`public int CompareTo(object? target)` [#](#method-compareto-object)

Inherited from Enum

Parameters

**target object? required**

Returns

`int`

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

Inherited from Enum

Parameters

**obj object? required**

Returns

`bool`

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

Inherited from Enum

Returns

`int`

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

Inherited from object

Returns

`Type`

`public TypeCode GetTypeCode()` [#](#method-gettypecode)

Inherited from Enum

Returns

`TypeCode`

`public bool HasFlag(Enum flag)` [#](#method-hasflag-enum)

Inherited from Enum

Parameters

**flag Enum required**

Returns

`bool`

ToString 4 overloads

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

Inherited from Enum

Returns

`string`

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

Inherited from Enum

Parameters

**format string? required**

Returns

`string`

`public string ToString(IFormatProvider? provider)` [#](#method-tostring-iformatprovider)

Inherited from Enum

`Obsolete("The provider argument is not used. Use ToString() instead.")`

Parameters

**provider IFormatProvider? required**

Returns

`string`

`public string ToString(string? format, IFormatProvider? provider)` [#](#method-tostring-string-iformatprovider)

Inherited from Enum

`Obsolete("The provider argument is not used. Use ToString(String) instead.")`

Parameters

**format string? required**

**provider IFormatProvider? required**

Returns

`string`

## Values

`public const ExcelFileFormat Xlsx` [#](#field-xlsx)

[ExcelDocument.Conversion.Models.cs:9](https://github.com/EvotecIT/OfficeIMO/blob/70033815508f5804dab5924268dfa6831d9b08cd/OfficeIMO.Excel/ExcelDocument.Conversion.Models.cs#L9)

Office Open XML Excel workbook.

Value: `0`

`public const ExcelFileFormat Xls` [#](#field-xls)

[ExcelDocument.Conversion.Models.cs:11](https://github.com/EvotecIT/OfficeIMO/blob/70033815508f5804dab5924268dfa6831d9b08cd/OfficeIMO.Excel/ExcelDocument.Conversion.Models.cs#L11)

Excel 97-2003 BIFF8 workbook.

Value: `1`

`public const ExcelFileFormat Xlsb` [#](#field-xlsb)

[ExcelDocument.Conversion.Models.cs:13](https://github.com/EvotecIT/OfficeIMO/blob/70033815508f5804dab5924268dfa6831d9b08cd/OfficeIMO.Excel/ExcelDocument.Conversion.Models.cs#L13)

Excel Binary Workbook package containing BIFF12 record streams.

Value: `2`

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