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

IFeatureExtent.DefaultScale Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IF > IFeatureExtent Interface > IFeatureExtent.DefaultScale Property
ArcGIS Developer Help

IFeatureExtent.DefaultScale Property

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

[Visual Basic .NET]
Public Property DefaultScale As Double
public double DefaultScale {get; set;}
HRESULT get_DefaultScale(
  System.Double* MapScale
HRESULT put_DefaultScale(
  double MapScale
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.


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