PlaceOptions
Overview
PlaceOptions is a interface in Aspose.PDF FOSS for TypeScript.
Options for {@link Template.PlaceOn}.
Properties: fit, opacity, rotation.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
fit | : 'stretch' | 'contain' | Read | 'stretch' (default) fills rect exactly; 'contain' scales uniformly and centres, preserving the template’s aspect ratio. |
opacity | : number | Read | Constant opacity 0..1 via an /ExtGState, as AddImage takes. |
rotation | : number | Read | Rotation in DEGREES counter-clockwise about the rect’s ORIGIN — the point (rect[0], rect[1]) — matching what stamp.ts documents for AddText. |