Click or drag to resize

GM_LayerList_tDrawLayerList Method

Draws one or more layers to the provided device context at the given location.

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

Parameters

aDC
Type: SystemIntPtr
OUT: count of layers in returned list
aLayerList
Type: GlobalMapperGM_LayerList_t
List of layers to draw or NULL for all
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
A GM Error Code
See Also