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


IDisplayTransformationScales.CalculateScale Method (ArcObjects .NET 10.4 SDK)
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