# EpubVersion

The package generation used for newly authored publications.

Enum 

`OfficeIMO.Epub`

**Namespace**

`OfficeIMO.Epub`

**Assembly**

`OfficeIMO.Epub`

**Source revision**

`5e5a2dda74b3` with working tree changes

**Source**

[EpubPublicationOptions.cs:4](https://github.com/EvotecIT/OfficeIMO/blob/5e5a2dda74b33242f1f075718ee568bb355c03ba/OfficeIMO.Epub/Authoring/EpubPublicationOptions.cs#L4)

**Base**

`Enum`

**Implements**

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

**Modifiers**

sealed

The package generation used for newly authored publications.

## Inheritance

- Enum
- EpubVersion

## Usage

Explore 3 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 2

- Field [EpubVersion.Epub2](/api/epub/officeimo-epub-epubversion/#field-epub2)
- Field [EpubVersion.Epub3](/api/epub/officeimo-epub-epubversion/#field-epub3)

### Accepted by parameters 1

- Method [EpubPublication.Create](/api/epub/officeimo-epub-epubpublication/#method-create-string-string-string-officeimo-epub-epubversion-officeimo-epub-epubpublicationloadoptions) parameter `version`

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 EpubVersion Epub2` [#](#field-epub2)

[EpubPublicationOptions.cs:6](https://github.com/EvotecIT/OfficeIMO/blob/5e5a2dda74b33242f1f075718ee568bb355c03ba/OfficeIMO.Epub/Authoring/EpubPublicationOptions.cs#L6)

EPUB 2.0.1 package and NCX navigation.

Value: `0`

`public const EpubVersion Epub3` [#](#field-epub3)

[EpubPublicationOptions.cs:8](https://github.com/EvotecIT/OfficeIMO/blob/5e5a2dda74b33242f1f075718ee568bb355c03ba/OfficeIMO.Epub/Authoring/EpubPublicationOptions.cs#L8)

EPUB 3 package and XHTML navigation.

Value: `1`

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