Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/

API Reference

Class

PdfStampAnnotationOptions

Namespace OfficeIMO.Pdf
Assembly OfficeIMO.Pdf
Source revision 804a7612eee4 with working tree changes
Modifiers sealed

Placement, appearance, and mutation policy for a stamp annotation added to an existing PDF page.

Inheritance

  • Object
  • PdfStampAnnotationOptions

Usage

Explore 1 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Accepted by parameters 1

Constructors

public PdfStampAnnotationOptions() #

Properties

public Int32 PageNumber { get; set; } #

One-based target page number.

public Double X { get; set; } #

Left edge in PDF points.

public Double Y { get; set; } #

Bottom edge in PDF points.

public Double Width { get; set; } #

Annotation width in PDF points.

public Double Height { get; set; } #

Annotation height in PDF points.

public String StampName { get; set; } #

Standard or custom PDF stamp name, for example Approved, Draft, or TopSecret.

public String? Contents { get; set; } #

Optional human-readable annotation contents.

public String? Title { get; set; } #

Optional annotation author/title.

public String? Name { get; set; } #

Optional stable annotation name stored in /NM.

public Int32 Flags { get; set; } #

Annotation flags. The default value 4 enables printing.

public PdfColor StrokeColor { get; set; } #

Border and label color. The default is dark red.

public PdfColor? FillColor { get; set; } #

Optional appearance fill color.

public Double BorderWidth { get; set; } #

Border width in PDF points.

public Byte[]? ImageBytes { get; set; } #

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.

public Int64 MaximumEncodedImageBytes { get; set; } #

Maximum encoded image bytes accepted for an image-backed stamp. Defaults to 128 MiB.

public PdfMutationExecutionPreference ExecutionPreference { get; set; } #

Preferred mutation mode. Automatic uses append-only when signature policy requires it.