WdExportCreateBookmarks enumeration

Office 2013 and later

Specifies what bookmarks to include when exporting a document.

Namespace:  Microsoft.Office.Interop.Word
Assembly:  Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)

<GuidAttribute("42A64EC8-BC68-3DBC-8BF0-58A8CBA4AB3E")> _
Public Enumeration WdExportCreateBookmarks
Dim instance As WdExportCreateBookmarks

Member nameDescription
wdExportCreateNoBookmarksDo not create bookmarks in the exported document.
wdExportCreateHeadingBookmarksCreate a bookmark in the exported document for each Microsoft Office Word heading, which includes only headings within the main document and text boxes not within headers, footers, endnotes, footnotes, or comments.
wdExportCreateWordBookmarksCreate a bookmark in the exported document for each Word bookmark, which includes all bookmarks except those contained within headers and footers.

Use with the ExportAsFixedFormat method for the Document, Range, or Selection object.