PdfStampAnnotationOptions
OfficeIMO.Pdf
Placement, appearance, and mutation policy for a stamp annotation added to an existing PDF page.
Inheritance
- object
- PdfStampAnnotationOptions
Remarks
Native page coordinates use default user-space units: one unit is /UserUnit physical points (1/72 inch each), defaulting to 1. Local text/font and matrix values retain their native coordinate spaces. Explicit visual projections use their documented coordinates.
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() #Inherited Methods
Properties
public double Width { get; set; } #Annotation width in page user-space units.
public double Height { get; set; } #Annotation height in page user-space units.
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 int Flags { get; set; } #Annotation flags. The default value 4 enables printing.
public OfficeColor StrokeColor { get; set; } #Border and label color. The default is dark red.
public OfficeColor? FillColor { get; set; } #Optional appearance fill color.
public double BorderWidth { get; set; } #Border width in page user-space units.
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 long 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.