Skip to content
Lamina PDF
0.9.0
GitHub
Open the web app

InitialViewPatch

type InitialViewPatch = SetInitialViewJs;

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

Changes to how a document opens, for Document.setInitialView: a value sets the field, null removes it, a missing key leaves it alone. open names a page by its ID (PageInfo.id) and a zoom: "default", "fitPage", "fitWidth" or a percentage.

0.3.0