WdExportCreateBookmarks Enumeration

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)

public enum 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.

Community Additions