GM_Utility .DrawPackageList Method |
Draws the specified portion of the specified packages to the device context. If no packages are explicitly specified, all loaded packages will be drawn.
Namespace:GlobalMapper
Assembly: GlobalMapperWrapperNET45 (in GlobalMapperWrapperNET45.dll) Version: 19.1.0.0 (19.1.0.0)

C#
Copy
public static GM_Error_t32 DrawPackageList(
IntPtr aDC,
GM_Package_t[] aPackageList,
GM_DrawFlags_t32 aDrawFlags,
GM_Rectangle_t aWorldBounds,
int aLeftPixel,
int aTopPixel,
int aPixelWidth,
int aPixelHeight
)
Parameters
- aDC
-
Type:
System.IntPtr
Handle for the Device Context to draw to - aPackageList
-
Type:
GlobalMapper.Types.GM_Package_t
List of packages to draw or NULL for all - aDrawFlags
-
Type:
GlobalMapper.Types.GM_DrawFlags_t32
Flags controlling how the draw is performed - aWorldBounds
-
Type:
GlobalMapper.Types.GM_Rectangle_t
World bounds to draw or NULL for all - aLeftPixel
- Type: System.Int32
- Left pixel coordinate to draw to
- aTopPixel
-
Type:
System.Int32
Top pixel coordinate to draw to - aPixelWidth
-
Type:
System.Int32
Width in pixels to draw - aPixelHeight
-
Type:
System.Int32
Height in pixels to draw
Return Value
Type: GM_Error_t32A GM Error Code
