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)

[GuidAttribute("20D65698-7CDC-3A68-A83D-D52A76FEA1A4")]
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.

Show: