GM_UtilityDrawPackageList 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)
Syntax 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
)
Public Shared Function DrawPackageList (
aDC As IntPtr,
aPackageList As GM_Package_t(),
aDrawFlags As GM_DrawFlags_t32,
aWorldBounds As GM_Rectangle_t,
aLeftPixel As Integer,
aTopPixel As Integer,
aPixelWidth As Integer,
aPixelHeight As Integer
) As GM_Error_t32
public:
static GM_Error_t32 DrawPackageList(
IntPtr aDC,
array<GM_Package_t^>^ aPackageList,
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 - aPackageList
- Type: GlobalMapper.TypesGM_Package_t
List of packages to draw or NULL for all - aDrawFlags
- Type: GlobalMapper.TypesGM_DrawFlags_t32
Flags controlling how the draw is performed - 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_t32GM Error Code
See Also