ArcGIS Pro 2.8 API Reference Guide
Export(ExportFormat) Method

ArcGIS.Desktop.Mapping Namespace > MapView Class > Export Method : Export(ExportFormat) Method
Provides the information for the export output.
Export a mapview to a variety of formats. The current camera position is used when exporting the view. This method must be called on the MCT. Use QueuedTask.Run.
Syntax
public void Export( 
   ExportFormat exportFormat
)
Public Overloads Sub Export( _
   ByVal exportFormat As ExportFormat _
) 

Parameters

exportFormat
Provides the information for the export output.
Exceptions
ExceptionDescription
This method must be called within the lambda passed to QueuedTask.Run.
File path must be valid and file must be accessible.
Remarks
Multiple examples are provided with each format derived from ExportFormat.
Requirements

Target Platforms: Windows 10, Windows 8.1

See Also

Reference

MapView Class
MapView Members
Overload List