This document is archived and information here might be outdated.  Recommended version.


IARControlDefault.ExportView Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (PublisherControls)  

IARControlDefault.ExportView Method

Export the current map or page layout view to the file.

Product Availability

Available with ArcGIS Desktop. Requires Publisher Extension.

Description

Exports the CurrentView with the specified filename, in the specified format. The output will exactly reflect the state of the CurrentView as seen on the screen.

Errors Returned

2003 800A07D3: No document loaded

2016 800A07E0: No export file name specified 

2107 800A083B: The current document does not have permission to export 

Remarks

The Export method will return an error if the currently loaded document was not published with permission to Export. Use the IARControlDefault::HasDocumentPermission method to determine this.

See Also

IARControlDefault Interface