Collapse the table of content
Expand the table of content
Expand Minimize
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here. ArchiveDisclaimer

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.

Show:
© 2016 Microsoft