Skip to content
Lamina PDF
0.9.0
GitHub
Open the web app

FlattenScope

type FlattenScope = FlattenScopeInit;

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

Which annotations Document.flattenAnnotations flattens: "all", every comment and mark on every page; { pages: [0, 2] }, those on these pages (0-based); or { annotations: ["a12.0"] }, these annotations. The first two leave out form fields’ widgets, links, pop-ups, replies (a reply goes with its comment) and locked annotations.

0.6.0