This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IM > IMapServer3 Interface > IMapServer3.ComputeScale Method (ArcObjects .NET 10.4 SDK) |
Computes the scale of the specified map, at the given map extent, for an image with the given size.
[Visual Basic .NET] Public Function ComputeScale ( _ ByVal mapDesc As IMapDescription, _ ByVal mapDisplay As IImageDisplay _ ) As Double
[C#] public double ComputeScale ( IMapDescription mapDesc, IImageDisplay mapDisplay );
[C++]
HRESULT ComputeScale(
IMapDescription* mapDesc,
IImageDisplay* mapDisplay,
double* Scale
);
[C++]
Parameters mapDesc [in]
mapDesc is a parameter of type IMapDescription mapDisplay [in]
mapDisplay is a parameter of type IImageDisplay Scale [out, retval] Scale is a parameter of type double