# PDFDocument.outline

```ts
get outline(): OutlineApi
```

The bookmark tree, read whole and edited in place. Without the `extract` feature every title `get()` returns is `''`; edits need `edit-pages`. See [`OutlineApi`](https://kernstra.com/docs/web-sdk/api/doc-outline).

- Kind: getter
- Since: 1.0.0

Returns `OutlineApi`

```ts
const chapters = await doc.outline.get();
```

Part of [PDFDocument](https://kernstra.com/docs/web-sdk/api/pdfdocument) in the Kernstra Web SDK 1.0.0 API reference.

Web page: https://kernstra.com/docs/web-sdk/api/pdfdocument/outline
