A newer version of this page is available. Switch to the current version.

MapControl.ExportToImage Method

Name Parameters Description
ExportToImage(Stream, ImageFormat) stream, format Exports the control's data to the specified stream in Image format using the specified Image-specific options.
ExportToImage(String, ImageFormat) filePath, format Creates an image file in the specified format from the current map and outputs it to the specified path.