This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IM > IMapFrame Interface > IMapFrame.MapScale Property (ArcObjects .NET 10.4 SDK) |
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
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.
IMapFrame Interface | IMapFrame Interface | MapFrame Class | IMapFrame.Map Property