Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

PdfMergeOptionsFluent

OfficeIMO.Pdf

Namespace
OfficeIMO.Pdf
Assembly
OfficeIMO.Pdf
Modifiers
static

The fluent methods of PdfMergeOptions, 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
  • PdfMergeOptionsFluent

Methods

public static PdfMergeOptions FlattenVisualAnnotations(PdfMergeOptions pdfMergeOptions, bool value = true) #

Sets PdfMergeOptions.FlattenVisualAnnotations: Gets or sets whether supported visual annotations should be painted into page content before pages are merged. Link annotations, form fields, and unsupported annotation shapes remain unchanged unless another OfficeIMO.Pdf operation handles them.

Parameters

pdfMergeOptions OfficeIMO.Pdf.PdfMergeOptions required
The instance.
value bool = true optional
The value; true when omitted.

Returns

PdfMergeOptions The same instance.

Examples

// C# initializer or property                                                      // C# fluent
new global::OfficeIMO.Pdf.PdfMergeOptions { FlattenVisualAnnotations = value };    pdfMergeOptions.FlattenVisualAnnotations(value);
Policy 2 overloads
public static PdfMergeOptions Policy(PdfMergeOptions pdfMergeOptions, PdfMergePolicy value) #

Sets PdfMergeOptions.Policy: Gets or sets the catalog-structure policy used by the merge. The default preserves the historical behavior where the first source owns document-level structures.

Parameters

pdfMergeOptions OfficeIMO.Pdf.PdfMergeOptions required
The instance.
value OfficeIMO.Pdf.PdfMergePolicy required
The value.

Returns

PdfMergeOptions The same instance.

Examples

// C# initializer or property                                    // C# fluent
new global::OfficeIMO.Pdf.PdfMergeOptions { Policy = value };    pdfMergeOptions.Policy(value);
public static PdfMergeOptions Policy(PdfMergeOptions pdfMergeOptions, Action<PdfMergePolicy> configure) #

Configures PdfMergeOptions.Policy in place (creating it when not set): Gets or sets the catalog-structure policy used by the merge. The default preserves the historical behavior where the first source owns document-level structures.

Parameters

pdfMergeOptions OfficeIMO.Pdf.PdfMergeOptions required
The instance.
configure System.Action<OfficeIMO.Pdf.PdfMergePolicy> required
Configures the value.

Returns

PdfMergeOptions The same instance.
ResizePages 2 overloads
public static PdfMergeOptions ResizePages(PdfMergeOptions pdfMergeOptions, PdfPageResizeOptions? value) #

Sets PdfMergeOptions.ResizePages: Gets or sets page resize options applied to each input PDF before pages are merged. Use this to normalize mixed source page sizes into a fixed output paper size.

Parameters

pdfMergeOptions OfficeIMO.Pdf.PdfMergeOptions required
The instance.
value OfficeIMO.Pdf.PdfPageResizeOptions? required
The value.

Returns

PdfMergeOptions The same instance.

Examples

// C# initializer or property                                         // C# fluent
new global::OfficeIMO.Pdf.PdfMergeOptions { ResizePages = value };    pdfMergeOptions.ResizePages(value);
public static PdfMergeOptions ResizePages(PdfMergeOptions pdfMergeOptions, Action<PdfPageResizeOptions> configure) #

Configures PdfMergeOptions.ResizePages in place: Gets or sets page resize options applied to each input PDF before pages are merged. Use this to normalize mixed source page sizes into a fixed output paper size.

Parameters

pdfMergeOptions OfficeIMO.Pdf.PdfMergeOptions required
The instance.
configure System.Action<OfficeIMO.Pdf.PdfPageResizeOptions> required
Configures the value.

Returns

PdfMergeOptions The same instance.