GM_Layer_tDraw Method
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
Assembly: GlobalMapperWrapperNET (in GlobalMapperWrapperNET.dll) Version: 18.0.0.0 (18.0.0.0)

Syntax
C#
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: GlobalMapperGM_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_t32
A GM Error Code
See Also