# PdfTableOfContentsOptions

Configures generated section navigation.

Class 

`OfficeIMO.Pdf`

**Namespace**

`OfficeIMO.Pdf`

**Assembly**

`OfficeIMO.Pdf`

**Source revision**

`be6c300e4ab1` with working tree changes

**Source**

[PdfTableOfContentsOptions.cs:5](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Model/PdfTableOfContentsOptions.cs#L5)

**Modifiers**

sealed

Configures generated section navigation.

## Inheritance

- object
- PdfTableOfContentsOptions

## Usage

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

### Accepted by parameters 1

- Method [PdfContentBuilder.TableOfContents](/api/pdf/officeimo-pdf-pdfcontentbuilder/#method-tableofcontents-officeimo-pdf-pdftableofcontentsoptions) parameter `options`

Filter members 

Show inherited

## Constructors

`public PdfTableOfContentsOptions()` [#](#constructor-ctor)

[PdfTableOfContentsOptions.cs:5](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Model/PdfTableOfContentsOptions.cs#L5)

## Inherited Methods

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

Inherited from object

Parameters

**obj object? required**

Returns

`bool`

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

Inherited from object

Returns

`int`

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

Inherited from object

Returns

`Type`

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

Inherited from object

Returns

`string?`

## Properties

`public string? Title { get; set; }` [#](#property-title)

[PdfTableOfContentsOptions.cs:10](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Model/PdfTableOfContentsOptions.cs#L10)

Optional TOC heading; set null to omit it.

`public int MinimumLevel { get; set; }` [#](#property-minimumlevel)

[PdfTableOfContentsOptions.cs:13](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Model/PdfTableOfContentsOptions.cs#L13)

Lowest section level included.

`public int MaximumLevel { get; set; }` [#](#property-maximumlevel)

[PdfTableOfContentsOptions.cs:21](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Model/PdfTableOfContentsOptions.cs#L21)

Highest section level included.

`public OfficeLength IndentPerLevel { get; set; }` [#](#property-indentperlevel)

[PdfTableOfContentsOptions.cs:29](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Model/PdfTableOfContentsOptions.cs#L29)

Indent added for each hierarchy level after the minimum.

`public PdfTabLeaderStyle Leader { get; set; }` [#](#property-leader)

[PdfTableOfContentsOptions.cs:36](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Model/PdfTableOfContentsOptions.cs#L36)

Leader rendered between the linked title and page number.

`public Func<int, string>? PageNumberFormatter { get; set; }` [#](#property-pagenumberformatter)

[PdfTableOfContentsOptions.cs:38](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Model/PdfTableOfContentsOptions.cs#L38)

Optional formatter for physical output page numbers.

`public IReadOnlyList<PdfTableOfContentsEntry>? Entries { get; set; }` [#](#property-entries)

[PdfTableOfContentsOptions.cs:42](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Model/PdfTableOfContentsOptions.cs#L42)

Explicit bookmark entries, or null to use generated document sections.

<!-- PowerForge markdown artifact sha256:1CDE066876987C5D317B7F23D796B51A6DBD7D49D8B855DEE4000552A21D3717 -->
