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
Properties
Section titled “Properties”angle?
Section titled “angle?”readonly angle?: number;Defined in: packages/sdk/src/types.ts:2165
Degrees counterclockwise as shown, from -360 to 360; 0 when absent.
hideable?
Section titled “hideable?”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
modified
Section titled “modified”readonly modified: string;Defined in: packages/sdk/src/types.ts:2169
A PDF date, such as "D:20261118120000Z".
opacity?
Section titled “opacity?”readonly opacity?: number;Defined in: packages/sdk/src/types.ts:2163
From 0 to 1; opaque when absent.