# PdfCanvasStampOptionsFluent

The fluent methods of PdfCanvasStampOptions, 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 [PdfCanvasStampOptions](/api/pdf/officeimo-pdf-pdfcanvasstampoptions/), 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
- PdfCanvasStampOptionsFluent

Filter members 

Show inherited

## Methods

`public static PdfCanvasStampOptions BehindContent(PdfCanvasStampOptions pdfCanvasStampOptions, bool value = true)` [#](#method-behindcontent-officeimo-pdf-pdfcanvasstampoptions-boolean)

Sets [PdfCanvasStampOptions.BehindContent](/api/pdf/officeimo-pdf-pdfcanvasstampoptions/): Places generated visual content before the existing page content streams.

Parameters

**pdfCanvasStampOptions OfficeIMO.Pdf.PdfCanvasStampOptions required**

The instance.

**value bool = true optional**

The value; true when omitted.

Returns

`PdfCanvasStampOptions` The same instance.

Examples

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

`public static PdfCanvasStampOptions Opacity(PdfCanvasStampOptions pdfCanvasStampOptions, double value)` [#](#method-opacity-officeimo-pdf-pdfcanvasstampoptions-double)

Sets [PdfCanvasStampOptions.Opacity](/api/pdf/officeimo-pdf-pdfcanvasstampoptions/): Canvas opacity from zero through one.

Parameters

**pdfCanvasStampOptions OfficeIMO.Pdf.PdfCanvasStampOptions required**

The instance.

**value double required**

The value.

Returns

`PdfCanvasStampOptions` The same instance.

Examples

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

RenderingOptions 2 overloads

`public static PdfCanvasStampOptions RenderingOptions(PdfCanvasStampOptions pdfCanvasStampOptions, PdfCreateOptions options)` [#](#method-renderingoptions-officeimo-pdf-pdfcanvasstampoptions-officeimo-pdf-pdfcreateoptions)

Uses cloned generated-PDF rendering options for visual canvas content.

Parameters

**pdfCanvasStampOptions OfficeIMO.Pdf.PdfCanvasStampOptions required**

The instance.

**options OfficeIMO.Pdf.PdfCreateOptions required**

The value.

Returns

`PdfCanvasStampOptions` The same instance.

`public static PdfCanvasStampOptions RenderingOptions(PdfCanvasStampOptions pdfCanvasStampOptions, Action<PdfCreateOptions> configure)` [#](#method-renderingoptions-officeimo-pdf-pdfcanvasstampoptions-action-officeimo-pdf-pdfcreateoptions)

Configures [PdfCanvasStampOptions.RenderingOptions](/api/pdf/officeimo-pdf-pdfcanvasstampoptions/) in place (creating it when not set): Generated-PDF rendering options used for the temporary visual overlay. The value is cloned on assignment and retrieval. Page geometry, margins, encryption, page chrome, and page decorations are controlled by the stamping operation. Use this to carry registered embedded fonts, text shaping, image handling, and other visual rendering configuration into canvas content. Tagged structure mode must remain disabled because a visual page import cannot merge the temporary document's structure tree into the target.

Parameters

**pdfCanvasStampOptions OfficeIMO.Pdf.PdfCanvasStampOptions required**

The instance.

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

Configures the value.

Returns

`PdfCanvasStampOptions` The same instance.

TargetPages 2 overloads

`public static PdfCanvasStampOptions TargetPages(PdfCanvasStampOptions pdfCanvasStampOptions, string selector)` [#](#method-targetpages-officeimo-pdf-pdfcanvasstampoptions-string)

Sets target pages from a rich page-selector expression.

Parameters

**pdfCanvasStampOptions OfficeIMO.Pdf.PdfCanvasStampOptions required**

The instance.

**selector string required**

The value.

Returns

`PdfCanvasStampOptions` The same instance.

`public static PdfCanvasStampOptions TargetPages(PdfCanvasStampOptions pdfCanvasStampOptions, OfficePageSelector? value)` [#](#method-targetpages-officeimo-pdf-pdfcanvasstampoptions-officeimo-officepageselector)

Sets [PdfCanvasStampOptions.TargetPages](/api/pdf/officeimo-pdf-pdfcanvasstampoptions/): Optional target-page selector. Null applies the canvas callback to every page.

Parameters

**pdfCanvasStampOptions OfficeIMO.Pdf.PdfCanvasStampOptions required**

The instance.

**value OfficeIMO.OfficePageSelector? required**

The value.

Returns

`PdfCanvasStampOptions` The same instance.

Examples

```csharp
// C# initializer or property                                               // C# fluent
new global::OfficeIMO.Pdf.PdfCanvasStampOptions { TargetPages = value };    pdfCanvasStampOptions.TargetPages(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:79439C9BC70D204C49628B3FA3A8467CD776C5CDA68F66C588BE98B0890B23AD -->
