This document is archived and information here might be outdated. Recommended version. |
Generates a picture of the map, based on the given map descriptor, and returns an HBITMAP handle to the resulting image. If you call this function, you absolutely MUST call ReleaseBitmapHandle() with the returned bitmap handle.
[Visual Basic .NET] Public Function GetMapBitmapHandle ( _ ByVal MapDescriptor As IMapDescriptor, _ ByVal Dpi As Integer, _ ByRef pixelBounds As tagRECT _ ) As Integer
[C#] public int GetMapBitmapHandle ( IMapDescriptor MapDescriptor, int Dpi, ref tagRECT pixelBounds );
[C++]
HRESULT GetMapBitmapHandle(
IMapDescriptor* MapDescriptor,
Long Dpi,
tagRECT* pixelBounds
);
[C++] Parameters MapDescriptor [in]
MapDescriptor is a parameter of type IMapDescriptor* Dpi [in]
Dpi is a parameter of type int pixelBounds [in]
pixelBounds is a parameter of type tagRECT*