PdfMergeOptionsFluent
OfficeIMO.Pdf
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
- The instance.
- value bool = true
- The value; true when omitted.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Pdf.PdfMergeOptions { FlattenVisualAnnotations = value }; pdfMergeOptions.FlattenVisualAnnotations(value);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
- The instance.
- value OfficeIMO.Pdf.PdfMergePolicy
- The value.
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
- The instance.
- configure System.Action<OfficeIMO.Pdf.PdfMergePolicy>
- Configures the value.
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
- The instance.
- value OfficeIMO.Pdf.PdfPageResizeOptions?
- The value.
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
- The instance.
- configure System.Action<OfficeIMO.Pdf.PdfPageResizeOptions>
- Configures the value.