Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
WdExportCreateBookmarks enumeration
Collapse the table of content
Expand the table of content

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.

© 2015 Microsoft