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


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

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(
  System.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