WdExportCreateBookmarks Enum

Definition

Specifies what bookmarks to include when exporting a document.

public enum class WdExportCreateBookmarks
[System.Runtime.InteropServices.Guid("42A64EC8-BC68-3DBC-8BF0-58A8CBA4AB3E")]
public enum WdExportCreateBookmarks
type WdExportCreateBookmarks = 
Public Enum WdExportCreateBookmarks
Inheritance
WdExportCreateBookmarks
Attributes

Fields

Name Value Description
wdExportCreateNoBookmarks 0

Do not create bookmarks in the exported document.

wdExportCreateHeadingBookmarks 1

Create 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.

wdExportCreateWordBookmarks 2

Create a bookmark in the exported document for each Word bookmark, which includes all bookmarks except those contained within headers and footers.

Remarks

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

Applies to