sempdf v1.9.1Interfaces
Interface: TemplateWatermarkOptions
sempdf / TemplateWatermarkOptions
Defined in: src/types.ts:2351
Options for a document watermark drawn behind every page's content.
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
color? | ColorInput | Text color. Defaults to a medium gray. | src/types.ts:2359 |
font? | PdfFont | Font. Defaults to Helvetica-Bold. | src/types.ts:2357 |
fontSize? | number | Font size in points. Defaults to an automatic size that spans the page diagonally. | src/types.ts:2355 |
opacity? | number | Fill opacity (0-1). Defaults to 0.15. | src/types.ts:2361 |
rotation? | number | Rotation in degrees, counter-clockwise about the page center. Defaults to 45. | src/types.ts:2363 |
text | string | Watermark text. | src/types.ts:2353 |