# PdfPageOverlayOptionsFluent

The fluent methods of PdfPageOverlayOptions, 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 [PdfPageOverlayOptions](/api/pdf/officeimo-pdf-pdfpageoverlayoptions/), 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
- PdfPageOverlayOptionsFluent

Filter members 

Show inherited

## Methods

`public static PdfPageOverlayOptions BehindContent(PdfPageOverlayOptions pdfPageOverlayOptions, bool value = true)` [#](#method-behindcontent-officeimo-pdf-pdfpageoverlayoptions-boolean)

Sets [PdfPageOverlayOptions.BehindContent](/api/pdf/officeimo-pdf-pdfpageoverlayoptions/): Places the imported page before existing page content.

Parameters

**pdfPageOverlayOptions OfficeIMO.Pdf.PdfPageOverlayOptions required**

The instance.

**value bool = true optional**

The value; true when omitted.

Returns

`PdfPageOverlayOptions` The same instance.

Examples

```csharp
// C# initializer or property                                                 // C# fluent
new global::OfficeIMO.Pdf.PdfPageOverlayOptions { BehindContent = value };    pdfPageOverlayOptions.BehindContent(value);
```

`public static PdfPageOverlayOptions BlendMode(PdfPageOverlayOptions pdfPageOverlayOptions, OfficeBlendMode value)` [#](#method-blendmode-officeimo-pdf-pdfpageoverlayoptions-officeimo-drawing-officeblendmode)

Sets [PdfPageOverlayOptions.BlendMode](/api/pdf/officeimo-pdf-pdfpageoverlayoptions/): Blend operation used when the imported page is composited over existing content.

Parameters

**pdfPageOverlayOptions OfficeIMO.Pdf.PdfPageOverlayOptions required**

The instance.

**value OfficeIMO.Drawing.OfficeBlendMode required**

The value.

Returns

`PdfPageOverlayOptions` The same instance.

Examples

```csharp
// C# initializer or property                                             // C# fluent
new global::OfficeIMO.Pdf.PdfPageOverlayOptions { BlendMode = value };    pdfPageOverlayOptions.BlendMode(value);
```

`public static PdfPageOverlayOptions Fit(PdfPageOverlayOptions pdfPageOverlayOptions, PdfPageOverlayFit value)` [#](#method-fit-officeimo-pdf-pdfpageoverlayoptions-officeimo-pdf-pdfpageoverlayfit)

Sets [PdfPageOverlayOptions.Fit](/api/pdf/officeimo-pdf-pdfpageoverlayoptions/): How the imported page fits the target rectangle.

Parameters

**pdfPageOverlayOptions OfficeIMO.Pdf.PdfPageOverlayOptions required**

The instance.

**value OfficeIMO.Pdf.PdfPageOverlayFit required**

The value.

Returns

`PdfPageOverlayOptions` The same instance.

Examples

```csharp
// C# initializer or property                                       // C# fluent
new global::OfficeIMO.Pdf.PdfPageOverlayOptions { Fit = value };    pdfPageOverlayOptions.Fit(value);
```

`public static PdfPageOverlayOptions Height(PdfPageOverlayOptions pdfPageOverlayOptions, double? value)` [#](#method-height-officeimo-pdf-pdfpageoverlayoptions-nullable-system-double)

Sets [PdfPageOverlayOptions.Height](/api/pdf/officeimo-pdf-pdfpageoverlayoptions/): Optional target rectangle height in physical points in the normalized target-page frame.

Parameters

**pdfPageOverlayOptions OfficeIMO.Pdf.PdfPageOverlayOptions required**

The instance.

**value double? required**

The value.

Returns

`PdfPageOverlayOptions` The same instance.

Examples

```csharp
// C# initializer or property                                          // C# fluent
new global::OfficeIMO.Pdf.PdfPageOverlayOptions { Height = value };    pdfPageOverlayOptions.Height(value);
```

`public static PdfPageOverlayOptions HorizontalAlignment(PdfPageOverlayOptions pdfPageOverlayOptions, OfficeAlignment value)` [#](#method-horizontalalignment-officeimo-pdf-pdfpageoverlayoptions-officeimo-officealignment)

Sets [PdfPageOverlayOptions.HorizontalAlignment](/api/pdf/officeimo-pdf-pdfpageoverlayoptions/): Horizontal alignment inside the target page or target rectangle.

Parameters

**pdfPageOverlayOptions OfficeIMO.Pdf.PdfPageOverlayOptions required**

The instance.

**value OfficeIMO.OfficeAlignment required**

The value.

Returns

`PdfPageOverlayOptions` The same instance.

Examples

```csharp
// C# initializer or property                                                       // C# fluent
new global::OfficeIMO.Pdf.PdfPageOverlayOptions { HorizontalAlignment = value };    pdfPageOverlayOptions.HorizontalAlignment(value);
```

`public static PdfPageOverlayOptions Opacity(PdfPageOverlayOptions pdfPageOverlayOptions, double value)` [#](#method-opacity-officeimo-pdf-pdfpageoverlayoptions-double)

Sets [PdfPageOverlayOptions.Opacity](/api/pdf/officeimo-pdf-pdfpageoverlayoptions/): Imported page opacity from 0 through 1.

Parameters

**pdfPageOverlayOptions OfficeIMO.Pdf.PdfPageOverlayOptions required**

The instance.

**value double required**

The value.

Returns

`PdfPageOverlayOptions` The same instance.

Examples

```csharp
// C# initializer or property                                           // C# fluent
new global::OfficeIMO.Pdf.PdfPageOverlayOptions { Opacity = value };    pdfPageOverlayOptions.Opacity(value);
```

`public static PdfPageOverlayOptions RotationDegrees(PdfPageOverlayOptions pdfPageOverlayOptions, double value)` [#](#method-rotationdegrees-officeimo-pdf-pdfpageoverlayoptions-double)

Sets [PdfPageOverlayOptions.RotationDegrees](/api/pdf/officeimo-pdf-pdfpageoverlayoptions/): Rotation in degrees around the target rectangle origin, in the normalized target-page frame.

Parameters

**pdfPageOverlayOptions OfficeIMO.Pdf.PdfPageOverlayOptions required**

The instance.

**value double required**

The value.

Returns

`PdfPageOverlayOptions` The same instance.

Examples

```csharp
// C# initializer or property                                                   // C# fluent
new global::OfficeIMO.Pdf.PdfPageOverlayOptions { RotationDegrees = value };    pdfPageOverlayOptions.RotationDegrees(value);
```

`public static PdfPageOverlayOptions SourcePageNumber(PdfPageOverlayOptions pdfPageOverlayOptions, int value)` [#](#method-sourcepagenumber-officeimo-pdf-pdfpageoverlayoptions-int32)

Sets [PdfPageOverlayOptions.SourcePageNumber](/api/pdf/officeimo-pdf-pdfpageoverlayoptions/): One-based page number imported from the source PDF.

Parameters

**pdfPageOverlayOptions OfficeIMO.Pdf.PdfPageOverlayOptions required**

The instance.

**value int required**

The value.

Returns

`PdfPageOverlayOptions` The same instance.

Examples

```csharp
// C# initializer or property                                                    // C# fluent
new global::OfficeIMO.Pdf.PdfPageOverlayOptions { SourcePageNumber = value };    pdfPageOverlayOptions.SourcePageNumber(value);
```

SourceReadOptions 2 overloads

`public static PdfPageOverlayOptions SourceReadOptions(PdfPageOverlayOptions pdfPageOverlayOptions, PdfLoadOptions? value)` [#](#method-sourcereadoptions-officeimo-pdf-pdfpageoverlayoptions-officeimo-pdf-pdfloadoptions)

Sets [PdfPageOverlayOptions.SourceReadOptions](/api/pdf/officeimo-pdf-pdfpageoverlayoptions/): Read options used for the imported source PDF, including its password and permission policy.

Parameters

**pdfPageOverlayOptions OfficeIMO.Pdf.PdfPageOverlayOptions required**

The instance.

**value OfficeIMO.Pdf.PdfLoadOptions? required**

The value.

Returns

`PdfPageOverlayOptions` The same instance.

Examples

```csharp
// C# initializer or property                                                     // C# fluent
new global::OfficeIMO.Pdf.PdfPageOverlayOptions { SourceReadOptions = value };    pdfPageOverlayOptions.SourceReadOptions(value);
```

`public static PdfPageOverlayOptions SourceReadOptions(PdfPageOverlayOptions pdfPageOverlayOptions, Action<PdfLoadOptions> configure)` [#](#method-sourcereadoptions-officeimo-pdf-pdfpageoverlayoptions-action-officeimo-pdf-pdfloadoptions)

Configures [PdfPageOverlayOptions.SourceReadOptions](/api/pdf/officeimo-pdf-pdfpageoverlayoptions/) in place (creating it when not set): Read options used for the imported source PDF, including its password and permission policy.

Parameters

**pdfPageOverlayOptions OfficeIMO.Pdf.PdfPageOverlayOptions required**

The instance.

**configure System.Action<OfficeIMO.Pdf.PdfLoadOptions> required**

Configures the value.

Returns

`PdfPageOverlayOptions` The same instance.

TargetPages 2 overloads

`public static PdfPageOverlayOptions TargetPages(PdfPageOverlayOptions pdfPageOverlayOptions, string selector)` [#](#method-targetpages-officeimo-pdf-pdfpageoverlayoptions-string)

Sets the target pages from a rich page-selector expression.

Parameters

**pdfPageOverlayOptions OfficeIMO.Pdf.PdfPageOverlayOptions required**

The instance.

**selector string required**

The value.

Returns

`PdfPageOverlayOptions` The same instance.

`public static PdfPageOverlayOptions TargetPages(PdfPageOverlayOptions pdfPageOverlayOptions, OfficePageSelector? value)` [#](#method-targetpages-officeimo-pdf-pdfpageoverlayoptions-officeimo-officepageselector)

Sets [PdfPageOverlayOptions.TargetPages](/api/pdf/officeimo-pdf-pdfpageoverlayoptions/): Optional target-page selector. Null applies the imported page to every target page.

Parameters

**pdfPageOverlayOptions OfficeIMO.Pdf.PdfPageOverlayOptions required**

The instance.

**value OfficeIMO.OfficePageSelector? required**

The value.

Returns

`PdfPageOverlayOptions` The same instance.

Examples

```csharp
// C# initializer or property                                               // C# fluent
new global::OfficeIMO.Pdf.PdfPageOverlayOptions { TargetPages = value };    pdfPageOverlayOptions.TargetPages(value);
```

`public static PdfPageOverlayOptions VerticalAlignment(PdfPageOverlayOptions pdfPageOverlayOptions, PdfVerticalAlign value)` [#](#method-verticalalignment-officeimo-pdf-pdfpageoverlayoptions-officeimo-pdf-pdfverticalalign)

Sets [PdfPageOverlayOptions.VerticalAlignment](/api/pdf/officeimo-pdf-pdfpageoverlayoptions/): Vertical alignment inside the target page or target rectangle.

Parameters

**pdfPageOverlayOptions OfficeIMO.Pdf.PdfPageOverlayOptions required**

The instance.

**value OfficeIMO.Pdf.PdfVerticalAlign required**

The value.

Returns

`PdfPageOverlayOptions` The same instance.

Examples

```csharp
// C# initializer or property                                                     // C# fluent
new global::OfficeIMO.Pdf.PdfPageOverlayOptions { VerticalAlignment = value };    pdfPageOverlayOptions.VerticalAlignment(value);
```

`public static PdfPageOverlayOptions Width(PdfPageOverlayOptions pdfPageOverlayOptions, double? value)` [#](#method-width-officeimo-pdf-pdfpageoverlayoptions-nullable-system-double)

Sets [PdfPageOverlayOptions.Width](/api/pdf/officeimo-pdf-pdfpageoverlayoptions/): Optional target rectangle width in physical points in the normalized target-page frame.

Parameters

**pdfPageOverlayOptions OfficeIMO.Pdf.PdfPageOverlayOptions required**

The instance.

**value double? required**

The value.

Returns

`PdfPageOverlayOptions` The same instance.

Examples

```csharp
// C# initializer or property                                         // C# fluent
new global::OfficeIMO.Pdf.PdfPageOverlayOptions { Width = value };    pdfPageOverlayOptions.Width(value);
```

`public static PdfPageOverlayOptions X(PdfPageOverlayOptions pdfPageOverlayOptions, double? value)` [#](#method-x-officeimo-pdf-pdfpageoverlayoptions-nullable-system-double)

Sets [PdfPageOverlayOptions.X](/api/pdf/officeimo-pdf-pdfpageoverlayoptions/): Optional target rectangle X coordinate in physical points in the normalized target-page frame.

Parameters

**pdfPageOverlayOptions OfficeIMO.Pdf.PdfPageOverlayOptions required**

The instance.

**value double? required**

The value.

Returns

`PdfPageOverlayOptions` The same instance.

Examples

```csharp
// C# initializer or property                                     // C# fluent
new global::OfficeIMO.Pdf.PdfPageOverlayOptions { X = value };    pdfPageOverlayOptions.X(value);
```

`public static PdfPageOverlayOptions Y(PdfPageOverlayOptions pdfPageOverlayOptions, double? value)` [#](#method-y-officeimo-pdf-pdfpageoverlayoptions-nullable-system-double)

Sets [PdfPageOverlayOptions.Y](/api/pdf/officeimo-pdf-pdfpageoverlayoptions/): Optional target rectangle Y coordinate in physical points in the normalized target-page frame.

Parameters

**pdfPageOverlayOptions OfficeIMO.Pdf.PdfPageOverlayOptions required**

The instance.

**value double? required**

The value.

Returns

`PdfPageOverlayOptions` The same instance.

Examples

```csharp
// C# initializer or property                                     // C# fluent
new global::OfficeIMO.Pdf.PdfPageOverlayOptions { Y = value };    pdfPageOverlayOptions.Y(value);
```

## 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:DE459CF4B8063C4C668BB6A39B6D0CA8AB65C4DD7D04662156B44EB3E2E9F77D -->
