Skip to content
Lamina PDF
0.9.0
GitHub
Open the web app

PageBoxesRead

type PageBoxesRead = PageBoxesReadJs;

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

A page’s boxes in user space ([x0, y0, x1, y1]), as readers use them: the crop box cut to the media box, and the bleed, trim and art boxes cut to the crop box, a box the page doesn’t set taken from the crop box. own says which of those three the page sets itself, and userUnit is the size of a unit in points. Document.setPageBoxes takes boxes in the same space.

0.5.0