ArcObjects Library Reference (Display)  

IDisplayTransformationScales.CalculateScale Method

Calculate the scale of the specified extent.

[Visual Basic .NET]
Public Function CalculateScale ( _
    ByVal extent As IEnvelope _
) As Double
[C#]
public double CalculateScale (
    IEnvelope extent
);
[C++]
HRESULT CalculateScale(
  IEnvelope* extent,
  double* scale
);
[C++]

Parameters

extent [in]

  extent is a parameter of type IEnvelope

scale [out, retval]   scale is a parameter of type double

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

See Also

IDisplayTransformationScales Interface