# OdfTextFieldPageSelection

The page selected by a native page-number field before its adjustment is applied.

Enum 

`OfficeIMO.OpenDocument`

**Namespace**

`OfficeIMO.OpenDocument`

**Assembly**

`OfficeIMO.OpenDocument`

**Source revision**

`7fbbd72e7c5a` with working tree changes

**Source**

[OdfTextField.Numbering.cs:4](https://github.com/EvotecIT/OfficeIMO/blob/7fbbd72e7c5a401b9579a484b97ed0a9a426ce11/OfficeIMO.OpenDocument/Text/OdfTextField.Numbering.cs#L4)

**Base**

`Enum`

**Implements**

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

**Modifiers**

sealed

The page selected by a native page-number field before its adjustment is applied.

## Inheritance

- Enum
- OdfTextFieldPageSelection

## Usage

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

- Property [OdfTextField.PageSelection](/api/open-document/officeimo-opendocument-odftextfield/#property-pageselection)
- Field [OdfTextFieldPageSelection.Current](/api/open-document/officeimo-opendocument-odftextfieldpageselection/#field-current)
- Field [OdfTextFieldPageSelection.Next](/api/open-document/officeimo-opendocument-odftextfieldpageselection/#field-next)
- Field [OdfTextFieldPageSelection.Previous](/api/open-document/officeimo-opendocument-odftextfieldpageselection/#field-previous)

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 OdfTextFieldPageSelection Current` [#](#field-current)

[OdfTextField.Numbering.cs:6](https://github.com/EvotecIT/OfficeIMO/blob/7fbbd72e7c5a401b9579a484b97ed0a9a426ce11/OfficeIMO.OpenDocument/Text/OdfTextField.Numbering.cs#L6)

The page containing the field.

Value: `0`

`public const OdfTextFieldPageSelection Previous` [#](#field-previous)

[OdfTextField.Numbering.cs:8](https://github.com/EvotecIT/OfficeIMO/blob/7fbbd72e7c5a401b9579a484b97ed0a9a426ce11/OfficeIMO.OpenDocument/Text/OdfTextField.Numbering.cs#L8)

The preceding page; a missing preceding page has no displayed number.

Value: `1`

`public const OdfTextFieldPageSelection Next` [#](#field-next)

[OdfTextField.Numbering.cs:10](https://github.com/EvotecIT/OfficeIMO/blob/7fbbd72e7c5a401b9579a484b97ed0a9a426ce11/OfficeIMO.OpenDocument/Text/OdfTextField.Numbering.cs#L10)

The following page; a missing following page has no displayed number.

Value: `2`

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