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


IMapControl2.MapScale Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Controls > ESRI ArcGIS Controls > Interfaces > IM > IMapControl2 Interface > IMapControl2.MapScale Property
ArcGIS Developer Help

IMapControl2.MapScale Property

Scale of the map as a representative fraction.

[Visual Basic .NET]
Public Property MapScale As Double
[C#]
public double MapScale {get; set;}
[C++]
HRESULT get_MapScale(
void
);
[C++]
HRESULT put_MapScale(
);

Product Availability

Available with ArcGIS Engine.

Description

This property is a shortcut to IMap::MapScale which itself is a shortcut to IDisplayTransformation::ScaleRatio.

Errors Returned

1000 800a03e8: An internal call to create an object has failed
1017 800a03f9: The current tracking or panning must complete before this method can execute
1022 800a03fe: The control requires a valid window to perform this method

Remarks

MapScale is the relationship between the dimensions of features on a map and the geographic objects they represent on the earth, commonly expressed as a fraction or a ratio.  A MapScale of 1/100,000 or 1:100,000 means that one unit of measure on the map equals 100,000 of the same units on the earth. Some common scales are as follows:

See Also

IMapControl2 Interface | IMapControl3.Map Property | IMapControl4.Map Property | IMapControl2.Map Property | IMapControl2.MapUnits Property | IMapControl4.MapUnits Property | IMapControl3.MapUnits Property | IMapControl4.ReferenceScale Property | IMapControl3.ReferenceScale Property | IMapControl2.ReferenceScale Property | IMapControl2.SpatialReference Property | IMapControl4.SpatialReference Property | IMapControl3.SpatialReference Property