# RtfHeaderFooterKind

Header and footer destinations supported by RTF.

Enum 

`OfficeIMO.Rtf`

**Namespace**

`OfficeIMO.Rtf`

**Assembly**

`OfficeIMO.Rtf`

**Source revision**

`ba882f6b0d07` with working tree changes

**Source**

[RtfHeaderFooterKind.cs:6](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfHeaderFooterKind.cs#L6)

**Base**

`Enum`

**Implements**

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

**Modifiers**

sealed

Header and footer destinations supported by RTF.

## Inheritance

- Enum
- RtfHeaderFooterKind

## Usage

Explore 15 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 9

- Property [RtfHeaderFooter.Kind](/api/rtf/officeimo-rtf-rtfheaderfooter/#property-kind)
- Field [RtfHeaderFooterKind.FirstFooter](/api/rtf/officeimo-rtf-rtfheaderfooterkind/#field-firstfooter)
- Field [RtfHeaderFooterKind.FirstHeader](/api/rtf/officeimo-rtf-rtfheaderfooterkind/#field-firstheader)
- Field [RtfHeaderFooterKind.Footer](/api/rtf/officeimo-rtf-rtfheaderfooterkind/#field-footer)
- Field [RtfHeaderFooterKind.Header](/api/rtf/officeimo-rtf-rtfheaderfooterkind/#field-header)
- Field [RtfHeaderFooterKind.LeftFooter](/api/rtf/officeimo-rtf-rtfheaderfooterkind/#field-leftfooter)
- Field [RtfHeaderFooterKind.LeftHeader](/api/rtf/officeimo-rtf-rtfheaderfooterkind/#field-leftheader)
- Field [RtfHeaderFooterKind.RightFooter](/api/rtf/officeimo-rtf-rtfheaderfooterkind/#field-rightfooter)
- Field [RtfHeaderFooterKind.RightHeader](/api/rtf/officeimo-rtf-rtfheaderfooterkind/#field-rightheader)

### Accepted by parameters 6

- Method [RtfDocument.AddFooter](/api/rtf/officeimo-rtf-rtfdocument/#method-addfooter-officeimo-rtf-rtfheaderfooterkind) parameter `kind`
- Method [RtfDocument.AddHeader](/api/rtf/officeimo-rtf-rtfdocument/#method-addheader-officeimo-rtf-rtfheaderfooterkind) parameter `kind`
- Method [RtfDocument.AddHeaderFooter](/api/rtf/officeimo-rtf-rtfdocument/#method-addheaderfooter-officeimo-rtf-rtfheaderfooterkind) parameter `kind`
- Method [RtfSection.AddFooter](/api/rtf/officeimo-rtf-rtfsection/#method-addfooter-officeimo-rtf-rtfheaderfooterkind) parameter `kind`
- Method [RtfSection.AddHeader](/api/rtf/officeimo-rtf-rtfsection/#method-addheader-officeimo-rtf-rtfheaderfooterkind) parameter `kind`
- Method [RtfSection.AddHeaderFooter](/api/rtf/officeimo-rtf-rtfsection/#method-addheaderfooter-officeimo-rtf-rtfheaderfooterkind) parameter `kind`

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 RtfHeaderFooterKind Header` [#](#field-header)

[RtfHeaderFooterKind.cs:8](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfHeaderFooterKind.cs#L8)

Default header for pages that do not use first, left, or right variants.

Value: `0`

`public const RtfHeaderFooterKind LeftHeader` [#](#field-leftheader)

[RtfHeaderFooterKind.cs:11](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfHeaderFooterKind.cs#L11)

Left-page header.

Value: `1`

`public const RtfHeaderFooterKind RightHeader` [#](#field-rightheader)

[RtfHeaderFooterKind.cs:14](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfHeaderFooterKind.cs#L14)

Right-page header.

Value: `2`

`public const RtfHeaderFooterKind FirstHeader` [#](#field-firstheader)

[RtfHeaderFooterKind.cs:17](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfHeaderFooterKind.cs#L17)

First-page header.

Value: `3`

`public const RtfHeaderFooterKind Footer` [#](#field-footer)

[RtfHeaderFooterKind.cs:20](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfHeaderFooterKind.cs#L20)

Default footer for pages that do not use first, left, or right variants.

Value: `4`

`public const RtfHeaderFooterKind LeftFooter` [#](#field-leftfooter)

[RtfHeaderFooterKind.cs:23](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfHeaderFooterKind.cs#L23)

Left-page footer.

Value: `5`

`public const RtfHeaderFooterKind RightFooter` [#](#field-rightfooter)

[RtfHeaderFooterKind.cs:26](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfHeaderFooterKind.cs#L26)

Right-page footer.

Value: `6`

`public const RtfHeaderFooterKind FirstFooter` [#](#field-firstfooter)

[RtfHeaderFooterKind.cs:29](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfHeaderFooterKind.cs#L29)

First-page footer.

Value: `7`

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