Skip to content
Lamina PDF
0.9.0
GitHub
Open the web app

OrientationMethod

type OrientationMethod = "rotate" | "swapBox";

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

How setOrientation turns a page: "rotate" (the default) adds a quarter turn to /Rotate; "swapBox" swaps the paper’s sides and turns the content into it, for tools that ignore /Rotate.

0.4.0