StampOptions
Overview
StampOptions is a interface in Aspose.PDF FOSS for TypeScript.
Options for stamping text onto a page.
Properties: align, artifact, behind, color, dir, font, and 7 more.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
font | : AuthoringFont | Read | Standard-14 base font (one of the 12 Latin faces) or an embedded font handle from {@link Document.AddFont}. |
fontSize | : number | Read | Font size in points. |
color | : [number, number, number] | Read | Fill color as RGB components in 0..1. |
rotate | : number | Read | Rotation in degrees, counter-clockwise about (x, y). |
opacity | : number | Read | Fill opacity in 0..1. |
align | : 'left' | 'center' | 'right' | Read | Which point of the baseline (x, y) anchors. |
tag | : StructElement | Read | When set, wrap this text in a marked-content sequence and attach it to the given structure element (emits /<type> << /MCID n >> BDC … EMC). |
artifact | : boolean | Read | @internal Mark this stamp as an /Artifact: content that belongs to no structure element (/Artifact BMC … EMC). |
shape | : boolean | Read | Enable/disable complex-text shaping for this call, overriding the font’s default. |
dir | : 'auto' | 'ltr' | 'rtl' | Read | Base paragraph direction for shaping. |
script | : string | Read | OpenType script tag override (default: auto per script itemization). |
language | : string | Read | OpenType language-system tag (default: ‘dflt’). |
behind | : boolean | Read | Draw this stamp beneath existing page content instead of on top of it. |