Export (0) Print
Expand All
Expand Minimize

WdExportRange enumeration

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.

© 2015 Microsoft