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

# PageBoxes

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

The boxes `setPageBoxes` writes. Each box left out stays as it is; `null` removes it, so
the page uses the box it inherits or the default (the media box for the crop box, the crop
box for the others). The media box can be set but never removed.

## Since

0.4.0

## Properties

### art?

```ts
readonly art?: PageBox | null;
```

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

The meaningful content of the page.

***

### bleed?

```ts
readonly bleed?: PageBox | null;
```

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

Where a print shop's bleed ends.

***

### crop?

```ts
readonly crop?: PageBox | null;
```

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

What a viewer shows and prints.

***

### media?

```ts
readonly media?: PageBox;
```

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

The page's physical size.

***

### trim?

```ts
readonly trim?: PageBox | null;
```

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

The finished page after trimming.
