This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Display > ESRI.ArcGIS.Display > Interfaces > ID > IDisplayTransformationScales Interface > IDisplayTransformationScales.CalculateScale Method (ArcObjects .NET 10.4 SDK) |
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