Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

PdfStampAnnotationOptionsFluent

OfficeIMO.Pdf

Namespace
OfficeIMO.Pdf
Assembly
OfficeIMO.Pdf
Modifiers
static

The fluent methods of 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

Methods

public static PdfStampAnnotationOptions BorderWidth(PdfStampAnnotationOptions pdfStampAnnotationOptions, double value) #

Sets PdfStampAnnotationOptions.BorderWidth: 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

// C# initializer or property                                                   // C# fluent
new global::OfficeIMO.Pdf.PdfStampAnnotationOptions { BorderWidth = value };    pdfStampAnnotationOptions.BorderWidth(value);
public static PdfStampAnnotationOptions Contents(PdfStampAnnotationOptions pdfStampAnnotationOptions, string? value) #

Sets PdfStampAnnotationOptions.Contents: Optional human-readable annotation contents.

Parameters

pdfStampAnnotationOptions OfficeIMO.Pdf.PdfStampAnnotationOptions required
The instance.
value string? required
The value.

Returns

PdfStampAnnotationOptions The same instance.

Examples

// C# initializer or property                                                // C# fluent
new global::OfficeIMO.Pdf.PdfStampAnnotationOptions { Contents = value };    pdfStampAnnotationOptions.Contents(value);
public static PdfStampAnnotationOptions ExecutionPreference(PdfStampAnnotationOptions pdfStampAnnotationOptions, PdfMutationExecutionPreference value) #

Sets PdfStampAnnotationOptions.ExecutionPreference: 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

// C# initializer or property                                                           // C# fluent
new global::OfficeIMO.Pdf.PdfStampAnnotationOptions { ExecutionPreference = value };    pdfStampAnnotationOptions.ExecutionPreference(value);
public static PdfStampAnnotationOptions FillColor(PdfStampAnnotationOptions pdfStampAnnotationOptions, OfficeColor? value) #

Sets PdfStampAnnotationOptions.FillColor: Optional appearance fill color.

Parameters

pdfStampAnnotationOptions OfficeIMO.Pdf.PdfStampAnnotationOptions required
The instance.
value OfficeIMO.OfficeColor? required
The value.

Returns

PdfStampAnnotationOptions The same instance.

Examples

// C# initializer or property                                                 // C# fluent
new global::OfficeIMO.Pdf.PdfStampAnnotationOptions { FillColor = value };    pdfStampAnnotationOptions.FillColor(value);
public static PdfStampAnnotationOptions Flags(PdfStampAnnotationOptions pdfStampAnnotationOptions, int value) #

Sets PdfStampAnnotationOptions.Flags: 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

// C# initializer or property                                             // C# fluent
new global::OfficeIMO.Pdf.PdfStampAnnotationOptions { Flags = value };    pdfStampAnnotationOptions.Flags(value);
public static PdfStampAnnotationOptions Height(PdfStampAnnotationOptions pdfStampAnnotationOptions, double value) #

Sets PdfStampAnnotationOptions.Height: 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

// C# initializer or property                                              // C# fluent
new global::OfficeIMO.Pdf.PdfStampAnnotationOptions { Height = value };    pdfStampAnnotationOptions.Height(value);
public static PdfStampAnnotationOptions ImageBytes(PdfStampAnnotationOptions pdfStampAnnotationOptions, byte[]? value) #

Sets PdfStampAnnotationOptions.ImageBytes: 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

// C# initializer or property                                                  // C# fluent
new global::OfficeIMO.Pdf.PdfStampAnnotationOptions { ImageBytes = value };    pdfStampAnnotationOptions.ImageBytes(value);
public static PdfStampAnnotationOptions MaximumEncodedImageBytes(PdfStampAnnotationOptions pdfStampAnnotationOptions, long value) #

Sets PdfStampAnnotationOptions.MaximumEncodedImageBytes: 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

// C# initializer or property                                                                // C# fluent
new global::OfficeIMO.Pdf.PdfStampAnnotationOptions { MaximumEncodedImageBytes = value };    pdfStampAnnotationOptions.MaximumEncodedImageBytes(value);
public static PdfStampAnnotationOptions Name(PdfStampAnnotationOptions pdfStampAnnotationOptions, string? value) #

Sets PdfStampAnnotationOptions.Name: 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

// C# initializer or property                                            // C# fluent
new global::OfficeIMO.Pdf.PdfStampAnnotationOptions { Name = value };    pdfStampAnnotationOptions.Name(value);
public static PdfStampAnnotationOptions PageNumber(PdfStampAnnotationOptions pdfStampAnnotationOptions, int value) #

Sets PdfStampAnnotationOptions.PageNumber: One-based target page number.

Parameters

pdfStampAnnotationOptions OfficeIMO.Pdf.PdfStampAnnotationOptions required
The instance.
value int required
The value.

Returns

PdfStampAnnotationOptions The same instance.

Examples

// C# initializer or property                                                  // C# fluent
new global::OfficeIMO.Pdf.PdfStampAnnotationOptions { PageNumber = value };    pdfStampAnnotationOptions.PageNumber(value);
public static PdfStampAnnotationOptions StampName(PdfStampAnnotationOptions pdfStampAnnotationOptions, string value) #

Sets PdfStampAnnotationOptions.StampName: 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

// C# initializer or property                                                 // C# fluent
new global::OfficeIMO.Pdf.PdfStampAnnotationOptions { StampName = value };    pdfStampAnnotationOptions.StampName(value);
public static PdfStampAnnotationOptions StrokeColor(PdfStampAnnotationOptions pdfStampAnnotationOptions, OfficeColor value) #

Sets PdfStampAnnotationOptions.StrokeColor: 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

// C# initializer or property                                                   // C# fluent
new global::OfficeIMO.Pdf.PdfStampAnnotationOptions { StrokeColor = value };    pdfStampAnnotationOptions.StrokeColor(value);
public static PdfStampAnnotationOptions Title(PdfStampAnnotationOptions pdfStampAnnotationOptions, string? value) #

Sets PdfStampAnnotationOptions.Title: Optional annotation author/title.

Parameters

pdfStampAnnotationOptions OfficeIMO.Pdf.PdfStampAnnotationOptions required
The instance.
value string? required
The value.

Returns

PdfStampAnnotationOptions The same instance.

Examples

// C# initializer or property                                             // C# fluent
new global::OfficeIMO.Pdf.PdfStampAnnotationOptions { Title = value };    pdfStampAnnotationOptions.Title(value);
public static PdfStampAnnotationOptions Width(PdfStampAnnotationOptions pdfStampAnnotationOptions, double value) #

Sets PdfStampAnnotationOptions.Width: 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

// C# initializer or property                                             // C# fluent
new global::OfficeIMO.Pdf.PdfStampAnnotationOptions { Width = value };    pdfStampAnnotationOptions.Width(value);
public static PdfStampAnnotationOptions X(PdfStampAnnotationOptions pdfStampAnnotationOptions, double value) #

Sets PdfStampAnnotationOptions.X: 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

// C# initializer or property                                         // C# fluent
new global::OfficeIMO.Pdf.PdfStampAnnotationOptions { X = value };    pdfStampAnnotationOptions.X(value);
public static PdfStampAnnotationOptions Y(PdfStampAnnotationOptions pdfStampAnnotationOptions, double value) #

Sets PdfStampAnnotationOptions.Y: 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

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