Skip to content
Lamina PDF
0.9.0
GitHub
Open the web app

PageBoxes

Defined in: packages/sdk/src/transaction.ts:185

The boxes setPageBoxes writes. Each box left out stays as it is; null removes it, so the page uses the box it inherits or the default (the media box for the crop box, the crop box for the others). The media box can be set but never removed.

0.4.0

readonly art?: PageBox | null;

Defined in: packages/sdk/src/transaction.ts:195

The meaningful content of the page.


readonly bleed?: PageBox | null;

Defined in: packages/sdk/src/transaction.ts:191

Where a print shop’s bleed ends.


readonly crop?: PageBox | null;

Defined in: packages/sdk/src/transaction.ts:189

What a viewer shows and prints.


readonly media?: PageBox;

Defined in: packages/sdk/src/transaction.ts:187

The page’s physical size.


readonly trim?: PageBox | null;

Defined in: packages/sdk/src/transaction.ts:193

The finished page after trimming.