This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > PublisherControls > ESRI.ArcGIS.PublisherControls > Interfaces > IA > IARMap Interface > IARMap.MapScale Property (ArcObjects .NET 10.5 SDK) |
The scale of the map as a representative fraction.
[Visual Basic .NET] Public Property MapScale As Double
[C#] public double MapScale {get; set;}
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
The MapScale property will return an error if the MapUnits are unknown or if passed a value of 0.
IARMap Interface | IARMap.SpatialReferenceName Property | IARMap.ReferenceScale Property | IARMap.DistanceUnits Property | IARMap.MapUnits Property