# PdfStampAnnotationOptionsFluent

The fluent methods of PdfStampAnnotationOptions, 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 [PdfStampAnnotationOptions](/api/pdf/officeimo-pdf-pdfstampannotationoptions/), 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
- PdfStampAnnotationOptionsFluent

Filter members 

Show inherited

## Methods

`public static PdfStampAnnotationOptions BorderWidth(PdfStampAnnotationOptions pdfStampAnnotationOptions, double value)` [#](#method-borderwidth-officeimo-pdf-pdfstampannotationoptions-double)

Sets [PdfStampAnnotationOptions.BorderWidth](/api/pdf/officeimo-pdf-pdfstampannotationoptions/): Border width in page user-space units.

Parameters

**pdfStampAnnotationOptions OfficeIMO.Pdf.PdfStampAnnotationOptions required**

The instance.

**value double required**

The value.

Returns

`PdfStampAnnotationOptions` The same instance.

Examples

```csharp
// C# initializer or property                                                   // C# fluent
new global::OfficeIMO.Pdf.PdfStampAnnotationOptions { BorderWidth = value };    pdfStampAnnotationOptions.BorderWidth(value);
```

`public static PdfStampAnnotationOptions Contents(PdfStampAnnotationOptions pdfStampAnnotationOptions, string? value)` [#](#method-contents-officeimo-pdf-pdfstampannotationoptions-string)

Sets [PdfStampAnnotationOptions.Contents](/api/pdf/officeimo-pdf-pdfstampannotationoptions/): Optional human-readable annotation contents.

Parameters

**pdfStampAnnotationOptions OfficeIMO.Pdf.PdfStampAnnotationOptions required**

The instance.

**value string? required**

The value.

Returns

`PdfStampAnnotationOptions` The same instance.

Examples

```csharp
// C# initializer or property                                                // C# fluent
new global::OfficeIMO.Pdf.PdfStampAnnotationOptions { Contents = value };    pdfStampAnnotationOptions.Contents(value);
```

`public static PdfStampAnnotationOptions ExecutionPreference(PdfStampAnnotationOptions pdfStampAnnotationOptions, PdfMutationExecutionPreference value)` [#](#method-executionpreference-officeimo-pdf-pdfstampannotationoptions-officeimo-pdf-pdfmutationexecutionpreference)

Sets [PdfStampAnnotationOptions.ExecutionPreference](/api/pdf/officeimo-pdf-pdfstampannotationoptions/): Preferred mutation mode. Automatic uses append-only when signature policy requires it.

Parameters

**pdfStampAnnotationOptions OfficeIMO.Pdf.PdfStampAnnotationOptions required**

The instance.

**value OfficeIMO.Pdf.PdfMutationExecutionPreference required**

The value.

Returns

`PdfStampAnnotationOptions` The same instance.

Examples

```csharp
// C# initializer or property                                                           // C# fluent
new global::OfficeIMO.Pdf.PdfStampAnnotationOptions { ExecutionPreference = value };    pdfStampAnnotationOptions.ExecutionPreference(value);
```

`public static PdfStampAnnotationOptions FillColor(PdfStampAnnotationOptions pdfStampAnnotationOptions, OfficeColor? value)` [#](#method-fillcolor-officeimo-pdf-pdfstampannotationoptions-nullable-officeimo-officecolor)

Sets [PdfStampAnnotationOptions.FillColor](/api/pdf/officeimo-pdf-pdfstampannotationoptions/): Optional appearance fill color.

Parameters

**pdfStampAnnotationOptions OfficeIMO.Pdf.PdfStampAnnotationOptions required**

The instance.

**value OfficeIMO.OfficeColor? required**

The value.

Returns

`PdfStampAnnotationOptions` The same instance.

Examples

```csharp
// C# initializer or property                                                 // C# fluent
new global::OfficeIMO.Pdf.PdfStampAnnotationOptions { FillColor = value };    pdfStampAnnotationOptions.FillColor(value);
```

`public static PdfStampAnnotationOptions Flags(PdfStampAnnotationOptions pdfStampAnnotationOptions, int value)` [#](#method-flags-officeimo-pdf-pdfstampannotationoptions-int32)

Sets [PdfStampAnnotationOptions.Flags](/api/pdf/officeimo-pdf-pdfstampannotationoptions/): Annotation flags. The default value 4 enables printing.

Parameters

**pdfStampAnnotationOptions OfficeIMO.Pdf.PdfStampAnnotationOptions required**

The instance.

**value int required**

The value.

Returns

`PdfStampAnnotationOptions` The same instance.

Examples

```csharp
// C# initializer or property                                             // C# fluent
new global::OfficeIMO.Pdf.PdfStampAnnotationOptions { Flags = value };    pdfStampAnnotationOptions.Flags(value);
```

`public static PdfStampAnnotationOptions Height(PdfStampAnnotationOptions pdfStampAnnotationOptions, double value)` [#](#method-height-officeimo-pdf-pdfstampannotationoptions-double)

Sets [PdfStampAnnotationOptions.Height](/api/pdf/officeimo-pdf-pdfstampannotationoptions/): Annotation height in page user-space units.

Parameters

**pdfStampAnnotationOptions OfficeIMO.Pdf.PdfStampAnnotationOptions required**

The instance.

**value double required**

The value.

Returns

`PdfStampAnnotationOptions` The same instance.

Examples

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

`public static PdfStampAnnotationOptions ImageBytes(PdfStampAnnotationOptions pdfStampAnnotationOptions, byte[]? value)` [#](#method-imagebytes-officeimo-pdf-pdfstampannotationoptions-byte)

Sets [PdfStampAnnotationOptions.ImageBytes](/api/pdf/officeimo-pdf-pdfstampannotationoptions/): Optional PNG or JPEG appearance. When set, the stamp displays this image instead of its text label. This is a visual annotation, not a cryptographic signature.

Parameters

**pdfStampAnnotationOptions OfficeIMO.Pdf.PdfStampAnnotationOptions required**

The instance.

**value byte[]? required**

The value.

Returns

`PdfStampAnnotationOptions` The same instance.

Examples

```csharp
// C# initializer or property                                                  // C# fluent
new global::OfficeIMO.Pdf.PdfStampAnnotationOptions { ImageBytes = value };    pdfStampAnnotationOptions.ImageBytes(value);
```

`public static PdfStampAnnotationOptions MaximumEncodedImageBytes(PdfStampAnnotationOptions pdfStampAnnotationOptions, long value)` [#](#method-maximumencodedimagebytes-officeimo-pdf-pdfstampannotationoptions-int64)

Sets [PdfStampAnnotationOptions.MaximumEncodedImageBytes](/api/pdf/officeimo-pdf-pdfstampannotationoptions/): Maximum encoded image bytes accepted for an image-backed stamp. Defaults to 128 MiB.

Parameters

**pdfStampAnnotationOptions OfficeIMO.Pdf.PdfStampAnnotationOptions required**

The instance.

**value long required**

The value.

Returns

`PdfStampAnnotationOptions` The same instance.

Examples

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

`public static PdfStampAnnotationOptions Name(PdfStampAnnotationOptions pdfStampAnnotationOptions, string? value)` [#](#method-name-officeimo-pdf-pdfstampannotationoptions-string)

Sets [PdfStampAnnotationOptions.Name](/api/pdf/officeimo-pdf-pdfstampannotationoptions/): Optional stable annotation name stored in /NM.

Parameters

**pdfStampAnnotationOptions OfficeIMO.Pdf.PdfStampAnnotationOptions required**

The instance.

**value string? required**

The value.

Returns

`PdfStampAnnotationOptions` The same instance.

Examples

```csharp
// C# initializer or property                                            // C# fluent
new global::OfficeIMO.Pdf.PdfStampAnnotationOptions { Name = value };    pdfStampAnnotationOptions.Name(value);
```

`public static PdfStampAnnotationOptions PageNumber(PdfStampAnnotationOptions pdfStampAnnotationOptions, int value)` [#](#method-pagenumber-officeimo-pdf-pdfstampannotationoptions-int32)

Sets [PdfStampAnnotationOptions.PageNumber](/api/pdf/officeimo-pdf-pdfstampannotationoptions/): One-based target page number.

Parameters

**pdfStampAnnotationOptions OfficeIMO.Pdf.PdfStampAnnotationOptions required**

The instance.

**value int required**

The value.

Returns

`PdfStampAnnotationOptions` The same instance.

Examples

```csharp
// C# initializer or property                                                  // C# fluent
new global::OfficeIMO.Pdf.PdfStampAnnotationOptions { PageNumber = value };    pdfStampAnnotationOptions.PageNumber(value);
```

`public static PdfStampAnnotationOptions StampName(PdfStampAnnotationOptions pdfStampAnnotationOptions, string value)` [#](#method-stampname-officeimo-pdf-pdfstampannotationoptions-string)

Sets [PdfStampAnnotationOptions.StampName](/api/pdf/officeimo-pdf-pdfstampannotationoptions/): Standard or custom PDF stamp name, for example Approved, Draft, or TopSecret.

Parameters

**pdfStampAnnotationOptions OfficeIMO.Pdf.PdfStampAnnotationOptions required**

The instance.

**value string required**

The value.

Returns

`PdfStampAnnotationOptions` The same instance.

Examples

```csharp
// C# initializer or property                                                 // C# fluent
new global::OfficeIMO.Pdf.PdfStampAnnotationOptions { StampName = value };    pdfStampAnnotationOptions.StampName(value);
```

`public static PdfStampAnnotationOptions StrokeColor(PdfStampAnnotationOptions pdfStampAnnotationOptions, OfficeColor value)` [#](#method-strokecolor-officeimo-pdf-pdfstampannotationoptions-officeimo-officecolor)

Sets [PdfStampAnnotationOptions.StrokeColor](/api/pdf/officeimo-pdf-pdfstampannotationoptions/): Border and label color. The default is dark red.

Parameters

**pdfStampAnnotationOptions OfficeIMO.Pdf.PdfStampAnnotationOptions required**

The instance.

**value OfficeIMO.OfficeColor required**

The value.

Returns

`PdfStampAnnotationOptions` The same instance.

Examples

```csharp
// C# initializer or property                                                   // C# fluent
new global::OfficeIMO.Pdf.PdfStampAnnotationOptions { StrokeColor = value };    pdfStampAnnotationOptions.StrokeColor(value);
```

`public static PdfStampAnnotationOptions Title(PdfStampAnnotationOptions pdfStampAnnotationOptions, string? value)` [#](#method-title-officeimo-pdf-pdfstampannotationoptions-string)

Sets [PdfStampAnnotationOptions.Title](/api/pdf/officeimo-pdf-pdfstampannotationoptions/): Optional annotation author/title.

Parameters

**pdfStampAnnotationOptions OfficeIMO.Pdf.PdfStampAnnotationOptions required**

The instance.

**value string? required**

The value.

Returns

`PdfStampAnnotationOptions` The same instance.

Examples

```csharp
// C# initializer or property                                             // C# fluent
new global::OfficeIMO.Pdf.PdfStampAnnotationOptions { Title = value };    pdfStampAnnotationOptions.Title(value);
```

`public static PdfStampAnnotationOptions Width(PdfStampAnnotationOptions pdfStampAnnotationOptions, double value)` [#](#method-width-officeimo-pdf-pdfstampannotationoptions-double)

Sets [PdfStampAnnotationOptions.Width](/api/pdf/officeimo-pdf-pdfstampannotationoptions/): Annotation width in page user-space units.

Parameters

**pdfStampAnnotationOptions OfficeIMO.Pdf.PdfStampAnnotationOptions required**

The instance.

**value double required**

The value.

Returns

`PdfStampAnnotationOptions` The same instance.

Examples

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

`public static PdfStampAnnotationOptions X(PdfStampAnnotationOptions pdfStampAnnotationOptions, double value)` [#](#method-x-officeimo-pdf-pdfstampannotationoptions-double)

Sets [PdfStampAnnotationOptions.X](/api/pdf/officeimo-pdf-pdfstampannotationoptions/): Left edge in page user-space units.

Parameters

**pdfStampAnnotationOptions OfficeIMO.Pdf.PdfStampAnnotationOptions required**

The instance.

**value double required**

The value.

Returns

`PdfStampAnnotationOptions` The same instance.

Examples

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

`public static PdfStampAnnotationOptions Y(PdfStampAnnotationOptions pdfStampAnnotationOptions, double value)` [#](#method-y-officeimo-pdf-pdfstampannotationoptions-double)

Sets [PdfStampAnnotationOptions.Y](/api/pdf/officeimo-pdf-pdfstampannotationoptions/): Bottom edge in page user-space units.

Parameters

**pdfStampAnnotationOptions OfficeIMO.Pdf.PdfStampAnnotationOptions required**

The instance.

**value double required**

The value.

Returns

`PdfStampAnnotationOptions` The same instance.

Examples

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