Draws the specified portion of the specified layer to the DIB. If no layer
is explicitly specified, all loaded layers will be drawn.
Namespace:
GlobalMapper.Types
Assembly:
GlobalMapperWrapperNET45 (in GlobalMapperWrapperNET45.dll) Version: 19.1.0.0 (19.1.0.0)
Syntax public GM_Error_t32 Draw(
IntPtr aDC,
GM_Rectangle_t aWorldBounds,
int aLeftPixel,
int aTopPixel,
int aPixelWidth,
int aPixelHeight
)
Public Function Draw (
aDC As IntPtr,
aWorldBounds As GM_Rectangle_t,
aLeftPixel As Integer,
aTopPixel As Integer,
aPixelWidth As Integer,
aPixelHeight As Integer
) As GM_Error_t32
public:
GM_Error_t32 Draw(
IntPtr aDC,
GM_Rectangle_t^ aWorldBounds,
int aLeftPixel,
int aTopPixel,
int aPixelWidth,
int aPixelHeight
)
Parameters
- aDC
- Type: SystemIntPtr
Device context to draw to - aWorldBounds
- Type: GlobalMapper.TypesGM_Rectangle_t
World bounds to draw or NULL for all - aLeftPixel
- Type: SystemInt32
Left pixel coordinate to draw to - aTopPixel
- Type: SystemInt32
Top pixel coordinate to draw to - aPixelWidth
- Type: SystemInt32
Width in pixels to draw - aPixelHeight
- Type: SystemInt32
Height in pixels to draw
Return Value
Type:
GM_Error_t32A GM Error Code
See Also