GM_UtilityCalcWorldRectSize Method |
Calculates the width and height of a rectangle in the current projection.
The rectangle can either be specified or the last drawn rectangle can be used.
Namespace:
GlobalMapper
Assembly:
GlobalMapperWrapperNET (in GlobalMapperWrapperNET.dll) Version: 19.1.0.0 (19.1.0.0)
Syntax public static GM_Error_t32 CalcWorldRectSize(
GM_Rectangle_t aWorldBounds,
out double aWidthMeters,
out double aHeightMeters
)
Parameters
- aWorldBounds
- Type: GlobalMapperGM_Rectangle_t
IN: World bounds to calc size of or NULL for last drawn - aWidthMeters
- Type: SystemDouble
OUT: Width of rectangle in meters - aHeightMeters
- Type: SystemDouble
OUT: Height of rectangle in meters
Return Value
Type:
GM_Error_t32A GM Error Code
See Also