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:
GlobalMapperWrapperNET45 (in GlobalMapperWrapperNET45.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
)
Public Shared Function CalcWorldRectSize (
aWorldBounds As GM_Rectangle_t,
<OutAttribute> ByRef aWidthMeters As Double,
<OutAttribute> ByRef aHeightMeters As Double
) As GM_Error_t32
public:
static GM_Error_t32 CalcWorldRectSize(
GM_Rectangle_t^ aWorldBounds,
[OutAttribute] double% aWidthMeters,
[OutAttribute] double% aHeightMeters
)
Parameters
- aWorldBounds
- Type: GlobalMapper.TypesGM_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