This HTML page is not optimized for LLM or AI agent consumption. Fetch the Markdown version instead: /api/csharp/enums/document-bookmark-source.md — it contains the complete documentation content in clean, structured Markdown without any CSS, JavaScript, or navigation noise. DocumentBookmarkSource

Specifies the source for PDF document outline (bookmarks) when converting Office documents to PDF.

using Nutrient;

Values

NameValueDescription
DocumentBookmarkSource.Headings0Create PDF outline entries from document headings (Heading 1, Heading 2, etc.). This is the default behavior, matching Word’s “Create bookmarks using: Headings” option.
DocumentBookmarkSource.WordBookmarks1Create PDF outline entries from Word bookmarks. This matches Word’s “Create bookmarks using: Word bookmarks” option.