This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IM > IMapServer4 Interface > IMapServer4.ExportMapImage Method (ArcObjects .NET 10.5 SDK) |
Generates an image of the map, based on the given map description, and writes the image to a specified file on disk. Supported file types are: 'bmp', 'jpg', 'tif', 'png'/'png8', 'png24', 'emf', 'ps', 'pdf', 'ai', 'gif', and 'svg'/'svgz'.
[Visual Basic .NET] Public Function ExportMapImage ( _ ByVal mapDesc As IMapDescription, _ ByVal imageDesc As IImageDescription _ ) As IMapImage
[C#] public IMapImage ExportMapImage ( IMapDescription mapDesc, IImageDescription imageDesc );
[C++]
HRESULT ExportMapImage(
IMapDescription* mapDesc,
IImageDescription* imageDesc,
IMapImage** MapImage
);
[C++]
Parameters mapDesc [in]
mapDesc is a parameter of type IMapDescription imageDesc [in]
imageDesc is a parameter of type IImageDescription MapImage [out, retval]
MapImage is a parameter of type IMapImage