# WordFileFormat

Identifies a Word file's physical format.

Enum 

`OfficeIMO.Word`

**Namespace**

`OfficeIMO.Word`

**Assembly**

`OfficeIMO.Word`

**Source revision**

`51cd59ece1fa` with working tree changes

**Source**

[WordDocument.Conversion.Models.cs:7](https://github.com/EvotecIT/OfficeIMO/blob/51cd59ece1fa22f062b7419cfd3afa43c266a7cf/OfficeIMO.Word/WordDocument.Conversion.Models.cs#L7)

**Base**

`Enum`

**Implements**

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

**Modifiers**

sealed

Identifies a Word file's physical format.

## Inheritance

- Enum
- WordFileFormat

## Usage

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

- Property [WordDocument.SourceFormat](/api/word/officeimo-word-worddocument/#property-sourceformat)
- Field [WordFileFormat.Doc](/api/word/officeimo-word-wordfileformat/#field-doc)
- Field [WordFileFormat.Docx](/api/word/officeimo-word-wordfileformat/#field-docx)
- Field [WordFileFormat.FlatOpc](/api/word/officeimo-word-wordfileformat/#field-flatopc)
- Field [WordFileFormat.WordMl2003](/api/word/officeimo-word-wordfileformat/#field-wordml2003)
- Property [WordSaveOptions.Format](/api/word/officeimo-word-wordsaveoptions/#property-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 WordFileFormat Docx` [#](#field-docx)

[WordDocument.Conversion.Models.cs:9](https://github.com/EvotecIT/OfficeIMO/blob/51cd59ece1fa22f062b7419cfd3afa43c266a7cf/OfficeIMO.Word/WordDocument.Conversion.Models.cs#L9)

Office Open XML Word document.

Value: `0`

`public const WordFileFormat Doc` [#](#field-doc)

[WordDocument.Conversion.Models.cs:11](https://github.com/EvotecIT/OfficeIMO/blob/51cd59ece1fa22f062b7419cfd3afa43c266a7cf/OfficeIMO.Word/WordDocument.Conversion.Models.cs#L11)

Word 97-2003 binary document.

Value: `1`

`public const WordFileFormat FlatOpc` [#](#field-flatopc)

[WordDocument.Conversion.Models.cs:13](https://github.com/EvotecIT/OfficeIMO/blob/51cd59ece1fa22f062b7419cfd3afa43c266a7cf/OfficeIMO.Word/WordDocument.Conversion.Models.cs#L13)

Standalone Flat OPC XML containing a Word Open XML package.

Value: `2`

`public const WordFileFormat WordMl2003` [#](#field-wordml2003)

[WordDocument.Conversion.Models.cs:15](https://github.com/EvotecIT/OfficeIMO/blob/51cd59ece1fa22f062b7419cfd3afa43c266a7cf/OfficeIMO.Word/WordDocument.Conversion.Models.cs#L15)

Standalone Word 2003 XML source, projected into an editable Word document.

Value: `3`

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