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


IMapFrame.MapScale Property (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (Carto)  

IMapFrame.MapScale Property

The scale at which the map should be displayed.

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

Parameters Scale [out, retval] Scale is a parameter of type double Scale [in] Scale is a parameter of type double

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Remarks

The MapScale property returns or sets the current scale for the map.  Use this property to obtain or update the scale.  If updating the scale, be sure the ExtentType is set to esriExtentScale.

 

See Also

IMapFrame Interface | IMapFrame Interface | MapFrame Class | IMapFrame.Map Property