---
title: "ResizePagesOptions"
version: "0.9.0"
url: "https://docs.laminapdf.com/reference/sdk/interfaces/resizepagesoptions/"
---

# ResizePagesOptions

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

Options for `resizePages`.

## Since

0.4.0

## Properties

### anchor?

```ts
readonly anchor?: Anchor;
```

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

Where `"extend"` puts the old page; `"center"` when left out.

***

### mode?

```ts
readonly mode?: "scale" | "extend";
```

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

`"scale"` (the default) scales the page as shown to fit the new paper, keeping its
proportions, and centres it; `"extend"` keeps the content's size and places it at `anchor`.
