Generates an image of the map, based on the given map descriptor, and writes the image to the specified file on disk. Supported file types are: 'bmp', 'jpg', 'tif', 'png'/'png8', 'png24', 'emf' and 'pcx'.
[Visual Basic .NET] Public Function ExportMapImage ( _ ByVal MapDescriptor As IMapDescriptor, _ ByVal Dpi As Integer, _ ByVal imageWidth As Integer, _ ByVal imageHeight As Integer, _ ByVal fileType As String, _ ByVal outputFileName As String _ ) As IEnvelope
[C#] public IEnvelope ExportMapImage ( IMapDescriptor MapDescriptor, int Dpi, int imageWidth, int imageHeight, string fileType, string outputFileName );
[C++]
HRESULT ExportMapImage(
IMapDescriptor* MapDescriptor,
Long Dpi,
Long imageWidth,
Long imageHeight,
BSTR fileType,
BSTR outputFileName,
IEnvelope** fittedBounds
);
[C++]Parameters
MapDescriptor [in]MapDescriptor is a parameter of type IMapDescriptor
Dpi [in] Dpi is a parameter of type Long imageWidth [in] imageWidth is a parameter of type Long imageHeight [in] imageHeight is a parameter of type Long fileType [in] fileType is a parameter of type BSTR outputFileName [in] outputFileName is a parameter of type BSTR fittedBounds [out, retval]fittedBounds is a parameter of type IEnvelope
Product Availability
Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.