Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

PdfSectionOptionsFluent

OfficeIMO.Pdf

Namespace
OfficeIMO.Pdf
Assembly
OfficeIMO.Pdf
Modifiers
static

The fluent methods of PdfSectionOptions, 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
  • PdfSectionOptionsFluent

Methods

public static PdfSectionOptions DestinationName(PdfSectionOptions pdfSectionOptions, string? value) #

Sets PdfSectionOptions.DestinationName: Optional named destination; a stable document-local name is generated when omitted.

Parameters

pdfSectionOptions OfficeIMO.Pdf.PdfSectionOptions required
The instance.
value string? required
The value.

Returns

PdfSectionOptions The same instance.

Examples

// C# initializer or property                                               // C# fluent
new global::OfficeIMO.Pdf.PdfSectionOptions { DestinationName = value };    pdfSectionOptions.DestinationName(value);
HeadingStyle 2 overloads
public static PdfSectionOptions HeadingStyle(PdfSectionOptions pdfSectionOptions, PdfHeadingStyle? value) #

Sets PdfSectionOptions.HeadingStyle: Optional heading style override.

Parameters

pdfSectionOptions OfficeIMO.Pdf.PdfSectionOptions required
The instance.
value OfficeIMO.Pdf.PdfHeadingStyle? required
The value.

Returns

PdfSectionOptions The same instance.

Examples

// C# initializer or property                                            // C# fluent
new global::OfficeIMO.Pdf.PdfSectionOptions { HeadingStyle = value };    pdfSectionOptions.HeadingStyle(value);
public static PdfSectionOptions HeadingStyle(PdfSectionOptions pdfSectionOptions, Action<PdfHeadingStyle> configure) #

Configures PdfSectionOptions.HeadingStyle in place (creating it when not set): Optional heading style override.

Parameters

pdfSectionOptions OfficeIMO.Pdf.PdfSectionOptions required
The instance.
configure System.Action<OfficeIMO.Pdf.PdfHeadingStyle> required
Configures the value.

Returns

PdfSectionOptions The same instance.
public static PdfSectionOptions IncludeHeading(PdfSectionOptions pdfSectionOptions, bool value = true) #

Sets PdfSectionOptions.IncludeHeading: Emits a heading for the section title.

Parameters

pdfSectionOptions OfficeIMO.Pdf.PdfSectionOptions required
The instance.
value bool = true optional
The value; true when omitted.

Returns

PdfSectionOptions The same instance.

Examples

// C# initializer or property                                              // C# fluent
new global::OfficeIMO.Pdf.PdfSectionOptions { IncludeHeading = value };    pdfSectionOptions.IncludeHeading(value);
public static PdfSectionOptions IncludeInTableOfContents(PdfSectionOptions pdfSectionOptions, bool value = true) #

Sets PdfSectionOptions.IncludeInTableOfContents: Includes the section in generated tables of contents.

Parameters

pdfSectionOptions OfficeIMO.Pdf.PdfSectionOptions required
The instance.
value bool = true optional
The value; true when omitted.

Returns

PdfSectionOptions The same instance.

Examples

// C# initializer or property                                                        // C# fluent
new global::OfficeIMO.Pdf.PdfSectionOptions { IncludeInTableOfContents = value };    pdfSectionOptions.IncludeInTableOfContents(value);
public static PdfSectionOptions Level(PdfSectionOptions pdfSectionOptions, int value) #

Sets PdfSectionOptions.Level: Outline and TOC hierarchy level.

Parameters

pdfSectionOptions OfficeIMO.Pdf.PdfSectionOptions required
The instance.
value int required
The value.

Returns

PdfSectionOptions The same instance.

Examples

// C# initializer or property                                     // C# fluent
new global::OfficeIMO.Pdf.PdfSectionOptions { Level = value };    pdfSectionOptions.Level(value);
public static PdfSectionOptions Reference(PdfSectionOptions pdfSectionOptions, PdfSectionReference? value) #

Sets PdfSectionOptions.Reference: Optional handle populated with the final output location.

Parameters

pdfSectionOptions OfficeIMO.Pdf.PdfSectionOptions required
The instance.
value OfficeIMO.Pdf.PdfSectionReference? required
The value.

Returns

PdfSectionOptions The same instance.

Examples

// C# initializer or property                                         // C# fluent
new global::OfficeIMO.Pdf.PdfSectionOptions { Reference = value };    pdfSectionOptions.Reference(value);
public static PdfSectionOptions StartOnNewPage(PdfSectionOptions pdfSectionOptions, bool value = true) #

Sets PdfSectionOptions.StartOnNewPage: Starts the section on a new page when prior page content exists.

Parameters

pdfSectionOptions OfficeIMO.Pdf.PdfSectionOptions required
The instance.
value bool = true optional
The value; true when omitted.

Returns

PdfSectionOptions The same instance.

Examples

// C# initializer or property                                              // C# fluent
new global::OfficeIMO.Pdf.PdfSectionOptions { StartOnNewPage = value };    pdfSectionOptions.StartOnNewPage(value);