---
title: "FlattenScope"
version: "0.9.0"
url: "https://docs.laminapdf.com/reference/sdk/type-aliases/flattenscope/"
---

# FlattenScope

```ts
type FlattenScope = FlattenScopeInit;
```

Defined in: [packages/sdk/src/types.ts:514](https://github.com/laudebugs/laminapdf/blob/v0.9.0/packages/sdk/src/types.ts#L514)

Which annotations [Document.flattenAnnotations](/reference/sdk/classes/document.md#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.

## Since

0.6.0
