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

# ExportCommentsOptions

```ts
type ExportCommentsOptions = ExportOptionsInit;
```

Defined in: [packages/sdk/src/types.ts:525](https://github.com/laudebugs/laminapdf/blob/v0.9.0/packages/sdk/src/types.ts#L525)

How [Document.exportAnnotations](/reference/sdk/classes/document.md#exportannotations) exports comments: the `format` (`"xfdf"`, `"fdf"` or
`"markdown"`), the `pages` (0-based; every page when left out), which `comments` (`"all"`, or
`"highlightsAndNotes"` for a notes app), the document's `file` name, which XFDF and FDF record
so an import can tell when it is given to another PDF, and what `markdown` includes
(`headings`, `authors` and `replies`, each on when left out).

## Since

0.7.0
