This document is archived and information here might be outdated.  Recommended version.


ITOCBuddy.GetScale Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Controls > ESRI ArcGIS Controls > Interfaces > IT > ITOCBuddy Interface > ITOCBuddy.GetScale Method
ArcGIS Developer Help

ITOCBuddy.GetScale Method

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*

Product Availability

Available with ArcGIS Engine.

Description

The GetScale method returns scale of the supplied Map or Scene. If the scale is unknown the GetScale method returns 0.0.

See Also

ITOCBuddy Interface