This document is archived and information here might be outdated. Recommended version. |
Returns the scale of the supplied BasicMap, this allows for objects that do not support IMap.
[Visual Basic .NET] Public Function GetScale ( _ ByVal pBasicMap As IBasicMap _ ) As Double
[C#] public double GetScale ( IBasicMap pBasicMap );
[C++]
HRESULT GetScale(
IBasicMap* pBasicMap
);
[C++] Parameters pBasicMap [in]
pBasicMap is a parameter of type IBasicMap*
The GetScale method returns scale of the supplied Map or Scene. If the scale is unknown the GetScale method returns 0.0.