Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

PdfTableOfContentsOptions

OfficeIMO.Pdf

Namespace
OfficeIMO.Pdf
Assembly
OfficeIMO.Pdf
Source revision
551365f138da with working tree changes
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

Constructors

public PdfTableOfContentsOptions() #

Properties

public string? Title { get; set; } #

Optional TOC heading; set null to omit it.

public int MinimumLevel { get; set; } #

Lowest section level included.

public int MaximumLevel { get; set; } #

Highest section level included.

public OfficeLength IndentPerLevel { get; set; } #

Indent added for each hierarchy level after the minimum.

public PdfTabLeaderStyle Leader { get; set; } #

Leader rendered between the linked title and page number.

public Func<int, string>? PageNumberFormatter { get; set; } #

Optional formatter for physical output page numbers.

public IReadOnlyList<PdfTableOfContentsEntry>? Entries { get; set; } #

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