This document is archived and information here might be outdated. Recommended version. |
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
);
[C++]
Parameters MapDescriptor [in]
MapDescriptor is a parameter of type IMapDescriptor* Dpi [in]
Dpi is a parameter of type int imageWidth [in]
imageWidth is a parameter of type int imageHeight [in]
imageHeight is a parameter of type int fileType [in]
fileType is a parameter of type BSTR outputFileName [in]
outputFileName is a parameter of type BSTR