Pdf |
The PdfBookmarkOptions type exposes the following members.
| Name | Description | |
|---|---|---|
| PdfBookmarkOptions |
| Name | Description | |
|---|---|---|
| AddDocumentBookmarks | Adds one bookmark for each merged document, opening its first page, when true. The default value is false. | |
| KeepSourceBookmarks | Keeps the bookmarks of the merged documents when true (nested under the bookmark of their document when AddDocumentBookmarks is true). When false, they are left out. The default value is true. | |
| TitleSource | Where the title of the bookmark of each merged document comes from. The default value is FileName. |
By default the merged document keeps the bookmarks of the merged documents, one after another, as in the earlier versions.
With AddDocumentBookmarks set to true, each merged document (and each image appended from a file) gets a bookmark that opens its first page, and the bookmarks of the document are nested under it. The title of that bookmark comes from TitleSource, or from SetBookmarkTitle(String). Empty pages and images appended as objects get no bookmark.