Skip to content
Lamina PDF
0.9.0
GitHub
Open the web app

NewBates

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

What DocumentContent.applyBates puts on pages: the mark’s ID, the number of the first page, where the number sits, and a PDF date for the forms’ /LastModified. Each page after counts one more, in the order the pages were named. The number is zero-padded to digits (0 to 20; a longer number is not cut) between prefix and suffix.

0.7.0

readonly color?: AnnotColor;

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

Black when absent.


readonly digits?: number;

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

Zero-padding, 0 to 20; 6 when absent, 0 for none.


readonly fonts?: readonly string[];

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


readonly id: string;

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


readonly margins?: MarkMargins;

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


readonly modified: string;

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

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


readonly prefix?: string;

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


readonly size?: number;

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

In points, from 1 to 500; 12 when absent.


readonly slot: Slot;

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


readonly start: number;

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


readonly suffix?: string;

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