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

# ContentsPlacement

Defined in: [packages/sdk/src/contents.ts:16](https://github.com/laudebugs/laminapdf/blob/v0.9.0/packages/sdk/src/contents.ts#L16)

Where a contents page goes and what it lists: everything of [ContentsPageOptions](/reference/sdk/interfaces/contentspageoptions.md) but its
fonts.

## Since

0.5.0

## Extended by

- [`ContentsPageOptions`](/reference/sdk/interfaces/contentspageoptions.md)

## Properties

### at?

```ts
readonly at?: PagePosition;
```

Defined in: [packages/sdk/src/contents.ts:18](https://github.com/laudebugs/laminapdf/blob/v0.9.0/packages/sdk/src/contents.ts#L18)

Where it goes: before the first page when left out.

***

### bookmark?

```ts
readonly bookmark?: boolean;
```

Defined in: [packages/sdk/src/contents.ts:24](https://github.com/laudebugs/laminapdf/blob/v0.9.0/packages/sdk/src/contents.ts#L24)

Whether a bookmark for the contents page goes first in the outline (no by default).

***

### levels?

```ts
readonly levels?: 2 | 1;
```

Defined in: [packages/sdk/src/contents.ts:20](https://github.com/laudebugs/laminapdf/blob/v0.9.0/packages/sdk/src/contents.ts#L20)

The levels of bookmarks it lists: 1, or 2 (the default).

***

### size?

```ts
readonly size?: number;
```

Defined in: [packages/sdk/src/contents.ts:26](https://github.com/laudebugs/laminapdf/blob/v0.9.0/packages/sdk/src/contents.ts#L26)

The entries' size in points, from 4 to 72: 11 when left out. The heading is half again as large.

***

### title?

```ts
readonly title?: string;
```

Defined in: [packages/sdk/src/contents.ts:22](https://github.com/laudebugs/laminapdf/blob/v0.9.0/packages/sdk/src/contents.ts#L22)

The heading at its top: "Contents" when left out.
