Click or drag to resize

GM_Package_tDraw Method

Draws the specified portion of the package to the device context. If no packages are explicitly specified, all loaded packages will be drawn.

Namespace:  GlobalMapper
Assembly:  GlobalMapperWrapperNET (in GlobalMapperWrapperNET.dll) Version: 19.1.0.0 (19.1.0.0)
Syntax
C#
public GM_Error_t32 Draw(
	IntPtr aDC,
	GM_DrawFlags_t32 aDrawFlags,
	GM_Rectangle_t aWorldBounds,
	int aLeftPixel,
	int aTopPixel,
	int aPixelWidth,
	int aPixelHeight
)

Parameters

aDC
Type: SystemIntPtr
Handle for the Device Context to draw to
aDrawFlags
Type: GlobalMapperGM_DrawFlags_t32
Flags controlling how the draw is performed
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
GM Error Code
See Also