Skip to content
Lamina PDF
0.9.0
GitHub
Open the web app

NewWatermark

Defined in: packages/sdk/src/types.ts:2159

What DocumentContent.addWatermark and DocumentContent.addBackground put on pages: the mark’s ID (1 to 64 ASCII letters, digits, -, _ or ., the same on every page and unique among a page’s marks and added objects), what it shows, and a PDF date for the forms’ /LastModified.

0.7.0

readonly angle?: number;

Defined in: packages/sdk/src/types.ts:2165

Degrees counterclockwise as shown, from -360 to 360; 0 when absent.


readonly hideable?: boolean;

Defined in: packages/sdk/src/types.ts:2167

Whether a reader’s layers panel can switch it off; always shown when absent.


readonly id: string;

Defined in: packages/sdk/src/types.ts:2160


readonly mark: MarkContent;

Defined in: packages/sdk/src/types.ts:2161


readonly modified: string;

Defined in: packages/sdk/src/types.ts:2169

A PDF date, such as "D:20261118120000Z".


readonly opacity?: number;

Defined in: packages/sdk/src/types.ts:2163

From 0 to 1; opaque when absent.