# PdfMergeOptionsFluent

The fluent methods of PdfMergeOptions, generated from its public properties: A property-named method sets a property and a singular-named method adds…

Class 

`OfficeIMO.Pdf`

**Namespace**

`OfficeIMO.Pdf`

**Assembly**

`OfficeIMO.Pdf`

**Modifiers**

static

The fluent methods of [PdfMergeOptions](/api/pdf/officeimo-pdf-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

Filter members 

Show inherited

## Methods

`public static PdfMergeOptions FlattenVisualAnnotations(PdfMergeOptions pdfMergeOptions, bool value = true)` [#](#method-flattenvisualannotations-officeimo-pdf-pdfmergeoptions-boolean)

Sets [PdfMergeOptions.FlattenVisualAnnotations](/api/pdf/officeimo-pdf-pdfmergeoptions/): 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

```csharp
// 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)` [#](#method-policy-officeimo-pdf-pdfmergeoptions-officeimo-pdf-pdfmergepolicy)

Sets [PdfMergeOptions.Policy](/api/pdf/officeimo-pdf-pdfmergeoptions/): 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

```csharp
// 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)` [#](#method-policy-officeimo-pdf-pdfmergeoptions-action-officeimo-pdf-pdfmergepolicy)

Configures [PdfMergeOptions.Policy](/api/pdf/officeimo-pdf-pdfmergeoptions/) 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)` [#](#method-resizepages-officeimo-pdf-pdfmergeoptions-officeimo-pdf-pdfpageresizeoptions)

Sets [PdfMergeOptions.ResizePages](/api/pdf/officeimo-pdf-pdfmergeoptions/): 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

```csharp
// 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)` [#](#method-resizepages-officeimo-pdf-pdfmergeoptions-action-officeimo-pdf-pdfpageresizeoptions)

Configures [PdfMergeOptions.ResizePages](/api/pdf/officeimo-pdf-pdfmergeoptions/) 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.

## Inherited Methods

`public virtual bool Equals(object? obj)` [#](#method-equals-object)

Inherited from object

Parameters

**obj object? required**

Returns

`bool`

`public virtual int GetHashCode()` [#](#method-gethashcode)

Inherited from object

Returns

`int`

`public Type GetType()` [#](#method-gettype)

Inherited from object

Returns

`Type`

`public virtual string? ToString()` [#](#method-tostring)

Inherited from object

Returns

`string?`

<!-- PowerForge markdown artifact sha256:1F08C6E0FE9D9C4D838528F53016B3DCC97CFB909F2DD26C13527947078B8955 -->
