WdExportRange enumeration

Office 2013 and later

Specifies how much of the document to export.

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

public enum WdExportRange

Member nameDescription
wdExportAllDocumentExports the entire document.
wdExportSelectionExports the contents of the current selection.
wdExportCurrentPageExports the current page.
wdExportFromToExports the contents of a range using the starting and ending positions.

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