# PdfImageStampOptionsFluent

The fluent methods of PdfImageStampOptions, 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 [PdfImageStampOptions](/api/pdf/officeimo-pdf-pdfimagestampoptions/), 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
- PdfImageStampOptionsFluent

Filter members 

Show inherited

## Methods

`public static PdfImageStampOptions BehindContent(PdfImageStampOptions pdfImageStampOptions, bool value = true)` [#](#method-behindcontent-officeimo-pdf-pdfimagestampoptions-boolean)

Sets [PdfImageStampOptions.BehindContent](/api/pdf/officeimo-pdf-pdfimagestampoptions/): Places the new image content stream before existing page content when true.

Parameters

**pdfImageStampOptions OfficeIMO.Pdf.PdfImageStampOptions required**

The instance.

**value bool = true optional**

The value; true when omitted.

Returns

`PdfImageStampOptions` The same instance.

Examples

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

`public static PdfImageStampOptions Height(PdfImageStampOptions pdfImageStampOptions, OfficeLength? value)` [#](#method-height-officeimo-pdf-pdfimagestampoptions-nullable-officeimo-officelength)

Sets [PdfImageStampOptions.Height](/api/pdf/officeimo-pdf-pdfimagestampoptions/): Physical height of the stamped image. When null, each image pixel contributes one point.

Parameters

**pdfImageStampOptions OfficeIMO.Pdf.PdfImageStampOptions required**

The instance.

**value OfficeIMO.OfficeLength? required**

The value.

Returns

`PdfImageStampOptions` The same instance.

Examples

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

`public static PdfImageStampOptions MaximumEncodedImageBytes(PdfImageStampOptions pdfImageStampOptions, long value)` [#](#method-maximumencodedimagebytes-officeimo-pdf-pdfimagestampoptions-int64)

Sets [PdfImageStampOptions.MaximumEncodedImageBytes](/api/pdf/officeimo-pdf-pdfimagestampoptions/): Maximum encoded image bytes accepted for a stamp or watermark. Defaults to 128 MiB.

Parameters

**pdfImageStampOptions OfficeIMO.Pdf.PdfImageStampOptions required**

The instance.

**value long required**

The value.

Returns

`PdfImageStampOptions` The same instance.

Examples

```csharp
// C# initializer or property                                                           // C# fluent
new global::OfficeIMO.Pdf.PdfImageStampOptions { MaximumEncodedImageBytes = value };    pdfImageStampOptions.MaximumEncodedImageBytes(value);
```

`public static PdfImageStampOptions Opacity(PdfImageStampOptions pdfImageStampOptions, double value)` [#](#method-opacity-officeimo-pdf-pdfimagestampoptions-double)

Sets [PdfImageStampOptions.Opacity](/api/pdf/officeimo-pdf-pdfimagestampoptions/): Image opacity from 0 through 1, multiplied by any intrinsic image alpha. Defaults to 1.

Parameters

**pdfImageStampOptions OfficeIMO.Pdf.PdfImageStampOptions required**

The instance.

**value double required**

The value.

Returns

`PdfImageStampOptions` The same instance.

Examples

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

`public static PdfImageStampOptions PageNumbers(PdfImageStampOptions pdfImageStampOptions, int[]? value)` [#](#method-pagenumbers-officeimo-pdf-pdfimagestampoptions-int32)

Sets [PdfImageStampOptions.PageNumbers](/api/pdf/officeimo-pdf-pdfimagestampoptions/): One-based page numbers to stamp. When null or empty, every page is stamped.

Parameters

**pdfImageStampOptions OfficeIMO.Pdf.PdfImageStampOptions required**

The instance.

**value int[]? required**

The value.

Returns

`PdfImageStampOptions` The same instance.

Examples

```csharp
// C# initializer or property                                              // C# fluent
new global::OfficeIMO.Pdf.PdfImageStampOptions { PageNumbers = value };    pdfImageStampOptions.PageNumbers(value);
```

PageRange 2 overloads

`public static PdfImageStampOptions PageRange(PdfImageStampOptions pdfImageStampOptions, int firstPage, int lastPage)` [#](#method-pagerange-officeimo-pdf-pdfimagestampoptions-int32-int32)

Selects an inclusive one-based page range to stamp.

Parameters

**pdfImageStampOptions OfficeIMO.Pdf.PdfImageStampOptions required**

The instance.

**firstPage int required**

The value.

**lastPage int required**

The value.

Returns

`PdfImageStampOptions` The same instance.

`public static PdfImageStampOptions PageRange(PdfImageStampOptions pdfImageStampOptions, PdfPageRange pageRange)` [#](#method-pagerange-officeimo-pdf-pdfimagestampoptions-officeimo-pdf-pdfpagerange)

Selects an inclusive one-based page range to stamp.

Parameters

**pdfImageStampOptions OfficeIMO.Pdf.PdfImageStampOptions required**

The instance.

**pageRange OfficeIMO.Pdf.PdfPageRange required**

The value.

Returns

`PdfImageStampOptions` The same instance.

`public static PdfImageStampOptions PageRanges(PdfImageStampOptions pdfImageStampOptions, params PdfPageRange[] pageRanges)` [#](#method-pageranges-officeimo-pdf-pdfimagestampoptions-officeimo-pdf-pdfpagerange)

Selects inclusive one-based page ranges to stamp. Overlapping ranges are treated as one page selection set in first-seen order.

Parameters

**pdfImageStampOptions OfficeIMO.Pdf.PdfImageStampOptions required**

The instance.

**pageRanges OfficeIMO.Pdf.PdfPageRange[] required**

The value.

Returns

`PdfImageStampOptions` The same instance.

`public static PdfImageStampOptions RotationDegrees(PdfImageStampOptions pdfImageStampOptions, double value)` [#](#method-rotationdegrees-officeimo-pdf-pdfimagestampoptions-double)

Sets [PdfImageStampOptions.RotationDegrees](/api/pdf/officeimo-pdf-pdfimagestampoptions/): Counter-clockwise image rotation in degrees around the image origin, relative to the displayed page. On a page with /Rotate, an unrotated image stays upright as the page is viewed.

Parameters

**pdfImageStampOptions OfficeIMO.Pdf.PdfImageStampOptions required**

The instance.

**value double required**

The value.

Returns

`PdfImageStampOptions` The same instance.

Examples

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

`public static PdfImageStampOptions Width(PdfImageStampOptions pdfImageStampOptions, OfficeLength? value)` [#](#method-width-officeimo-pdf-pdfimagestampoptions-nullable-officeimo-officelength)

Sets [PdfImageStampOptions.Width](/api/pdf/officeimo-pdf-pdfimagestampoptions/): Physical width of the stamped image. When null, each image pixel contributes one point.

Parameters

**pdfImageStampOptions OfficeIMO.Pdf.PdfImageStampOptions required**

The instance.

**value OfficeIMO.OfficeLength? required**

The value.

Returns

`PdfImageStampOptions` The same instance.

Examples

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

`public static PdfImageStampOptions X(PdfImageStampOptions pdfImageStampOptions, OfficeLength? value)` [#](#method-x-officeimo-pdf-pdfimagestampoptions-nullable-officeimo-officelength)

Sets [PdfImageStampOptions.X](/api/pdf/officeimo-pdf-pdfimagestampoptions/): Physical X coordinate of the image origin from the unrotated PDF origin. When null, stamps sit 36 points from the lower-left corner of the displayed page and watermarks center in it.

Parameters

**pdfImageStampOptions OfficeIMO.Pdf.PdfImageStampOptions required**

The instance.

**value OfficeIMO.OfficeLength? required**

The value.

Returns

`PdfImageStampOptions` The same instance.

Examples

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

`public static PdfImageStampOptions Y(PdfImageStampOptions pdfImageStampOptions, OfficeLength? value)` [#](#method-y-officeimo-pdf-pdfimagestampoptions-nullable-officeimo-officelength)

Sets [PdfImageStampOptions.Y](/api/pdf/officeimo-pdf-pdfimagestampoptions/): Physical Y coordinate of the image origin from the unrotated PDF origin. When null, stamps sit 36 points from the lower-left corner of the displayed page and watermarks center in it.

Parameters

**pdfImageStampOptions OfficeIMO.Pdf.PdfImageStampOptions required**

The instance.

**value OfficeIMO.OfficeLength? required**

The value.

Returns

`PdfImageStampOptions` The same instance.

Examples

```csharp
// C# initializer or property                                    // C# fluent
new global::OfficeIMO.Pdf.PdfImageStampOptions { Y = value };    pdfImageStampOptions.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:B93EC45BB709435C43A54CCACABB9CD6786C1808320F2EB9DCB67624938260C8 -->
