Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

PdfTableOfContentsOptionsFluent

OfficeIMO.Pdf

Namespace
OfficeIMO.Pdf
Assembly
OfficeIMO.Pdf
Modifiers
static

The fluent methods of PdfTableOfContentsOptions, generated from its public properties: A property-named method sets a property and a singular-named method adds to a collection, both returning the same instance.

Inheritance

  • object
  • PdfTableOfContentsOptionsFluent

Methods

public static PdfTableOfContentsOptions Configure(PdfTableOfContentsOptions pdfTableOfContentsOptions, Action<PdfTableOfContentsOptions> configure) #

Assigns callbacks and related configuration without invoking delegate-valued properties.

Parameters

pdfTableOfContentsOptions OfficeIMO.Pdf.PdfTableOfContentsOptions required
The instance.
configure System.Action<OfficeIMO.Pdf.PdfTableOfContentsOptions> required
Assignments applied in order.

Returns

PdfTableOfContentsOptions The same instance.

Examples

// C# initializer or property                                                           // C# fluent
new global::OfficeIMO.Pdf.PdfTableOfContentsOptions { PageNumberFormatter = value };    pdfTableOfContentsOptions.Configure(configured => configured.PageNumberFormatter = value);
public static PdfTableOfContentsOptions Entries(PdfTableOfContentsOptions pdfTableOfContentsOptions, IReadOnlyList<PdfTableOfContentsEntry>? value) #

Sets PdfTableOfContentsOptions.Entries: Explicit bookmark entries, or null to use generated document sections.

Parameters

pdfTableOfContentsOptions OfficeIMO.Pdf.PdfTableOfContentsOptions required
The instance.
value System.Collections.Generic.IReadOnlyList<OfficeIMO.Pdf.PdfTableOfContentsEntry>? required
The value.

Returns

PdfTableOfContentsOptions The same instance.

Examples

// C# initializer or property                                               // C# fluent
new global::OfficeIMO.Pdf.PdfTableOfContentsOptions { Entries = value };    pdfTableOfContentsOptions.Entries(value);
public static PdfTableOfContentsOptions IndentPerLevel(PdfTableOfContentsOptions pdfTableOfContentsOptions, OfficeLength value) #

Sets PdfTableOfContentsOptions.IndentPerLevel: Indent added for each hierarchy level after the minimum.

Parameters

pdfTableOfContentsOptions OfficeIMO.Pdf.PdfTableOfContentsOptions required
The instance.
value OfficeIMO.OfficeLength required
The value.

Returns

PdfTableOfContentsOptions The same instance.

Examples

// C# initializer or property                                                      // C# fluent
new global::OfficeIMO.Pdf.PdfTableOfContentsOptions { IndentPerLevel = value };    pdfTableOfContentsOptions.IndentPerLevel(value);
public static PdfTableOfContentsOptions Leader(PdfTableOfContentsOptions pdfTableOfContentsOptions, PdfTabLeaderStyle value) #

Sets PdfTableOfContentsOptions.Leader: Leader rendered between the linked title and page number.

Parameters

pdfTableOfContentsOptions OfficeIMO.Pdf.PdfTableOfContentsOptions required
The instance.
value OfficeIMO.Pdf.PdfTabLeaderStyle required
The value.

Returns

PdfTableOfContentsOptions The same instance.

Examples

// C# initializer or property                                              // C# fluent
new global::OfficeIMO.Pdf.PdfTableOfContentsOptions { Leader = value };    pdfTableOfContentsOptions.Leader(value);
public static PdfTableOfContentsOptions MaximumLevel(PdfTableOfContentsOptions pdfTableOfContentsOptions, int value) #

Sets PdfTableOfContentsOptions.MaximumLevel: Highest section level included.

Parameters

pdfTableOfContentsOptions OfficeIMO.Pdf.PdfTableOfContentsOptions required
The instance.
value int required
The value.

Returns

PdfTableOfContentsOptions The same instance.

Examples

// C# initializer or property                                                    // C# fluent
new global::OfficeIMO.Pdf.PdfTableOfContentsOptions { MaximumLevel = value };    pdfTableOfContentsOptions.MaximumLevel(value);
public static PdfTableOfContentsOptions MinimumLevel(PdfTableOfContentsOptions pdfTableOfContentsOptions, int value) #

Sets PdfTableOfContentsOptions.MinimumLevel: Lowest section level included.

Parameters

pdfTableOfContentsOptions OfficeIMO.Pdf.PdfTableOfContentsOptions required
The instance.
value int required
The value.

Returns

PdfTableOfContentsOptions The same instance.

Examples

// C# initializer or property                                                    // C# fluent
new global::OfficeIMO.Pdf.PdfTableOfContentsOptions { MinimumLevel = value };    pdfTableOfContentsOptions.MinimumLevel(value);
public static PdfTableOfContentsOptions Title(PdfTableOfContentsOptions pdfTableOfContentsOptions, string? value) #

Sets PdfTableOfContentsOptions.Title: Optional TOC heading; set null to omit it.

Parameters

pdfTableOfContentsOptions OfficeIMO.Pdf.PdfTableOfContentsOptions required
The instance.
value string? required
The value.

Returns

PdfTableOfContentsOptions The same instance.

Examples

// C# initializer or property                                             // C# fluent
new global::OfficeIMO.Pdf.PdfTableOfContentsOptions { Title = value };    pdfTableOfContentsOptions.Title(value);