PdfTableOfContentsOptionsFluent
OfficeIMO.Pdf
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
- The instance.
- configure System.Action<OfficeIMO.Pdf.PdfTableOfContentsOptions>
- Assignments applied in order.
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
- The instance.
- value System.Collections.Generic.IReadOnlyList<OfficeIMO.Pdf.PdfTableOfContentsEntry>?
- The value.
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
- The instance.
- value OfficeIMO.OfficeLength
- The value.
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
- The instance.
- value OfficeIMO.Pdf.PdfTabLeaderStyle
- The value.
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
- The instance.
- value int
- The value.
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
- The instance.
- value int
- The value.
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
- The instance.
- value string?
- The value.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Pdf.PdfTableOfContentsOptions { Title = value }; pdfTableOfContentsOptions.Title(value);