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

# ReferencePolicy

```ts
type ReferencePolicy = "retarget" | "remove";
```

Defined in: [packages/sdk/src/transaction.ts:130](https://github.com/laudebugs/laminapdf/blob/v0.9.0/packages/sdk/src/transaction.ts#L130)

What deleting pages does to the outline items, links, named destinations and open action
that point at them: `retarget` points each at the nearest page left (the next one, else the
one before), showing the whole page; `remove` removes it.

## Since

0.3.0
