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


IFeatureExtent.DefaultScale Property (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (Carto)  

IFeatureExtent.DefaultScale Property

Scale at which the extent of a single point is drawn.

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

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

Product Availability

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

Remarks

Use DefaultScale to control the map scale when zooming to a single point feature. The DefaultScale value only affects conditions where a single point feature is selected. This value will be ignored when selecting multiple points or when selecting other feature types. If this value is not set and FeatureIDs is comprised of a single point feature, the new spatial extent may be too large.

See Also

IFeatureExtent Interface