globalmapper.CalcWorldRectSize¶
- globalmapper.CalcWorldRectSize(GM_Rectangle_t aWorldBounds) GM_Error_t32, float, float [source]¶
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.
- Parameters
aWorldBounds (GM_Rectangle_t) – World bounds to calc size of or None for last drawn
- Returns
Error Code
- Return type
GM_Error_t32
- Returns
Width of rectangle in meters
- Return type
float
- Returns
Height of rectangle in meters
- Return type
float