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


IARMap.MapScale Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > PublisherControls > ESRI.ArcGIS.PublisherControls > Interfaces > IA > IARMap Interface > IARMap.MapScale Property
ArcGIS Developer Help

IARMap.MapScale Property

The scale of the map as a representative fraction.

[Visual Basic .NET]
Public Property MapScale As Double
[C#]
public double MapScale {get; set;}

Product Availability

Available with ArcGIS Desktop. Requires Publisher Extension.

Description

The current scale of the ARMap. MapScale is the relationship between the dimensions of features on the ARMap 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 ARMap equals 100,000 of the same units on the earth. Some common scales are as follows:

Errors Returned

2114 800A0842:  Invalid map scale - the scale must be greater than zero 

2118 800A0846: The spatial reference is unknown so this operation cannot be completed

Remarks

The MapScale property will return an error if the MapUnits are unknown or if passed a value of 0. 

See Also

IARMap Interface | IARMap.SpatialReferenceName Property | IARMap.ReferenceScale Property | IARMap.DistanceUnits Property | IARMap.MapUnits Property