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


IFeatureExtent.ExpandRatio 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.ExpandRatio Property
ArcGIS Developer Help

IFeatureExtent.ExpandRatio Property

Ratio used to expand the extent.

[Visual Basic .NET]
Public Property ExpandRatio As Double
[C#]
public double ExpandRatio {get; set;}
[C++]
HRESULT get_ExpandRatio(
  System.Double* ratio
);
[C++]
HRESULT put_ExpandRatio(
  double ratio
);
[C++]
Parameters
ratio [out, retval]

ratio is a parameter of type double* ratio [in]
ratio is a parameter of type double

Product Availability

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

Remarks

Use ExpandRatio to add a "buffer" around the requested geographic extent. For example, an ExpandRatio value of 1.5 will expand the map extent by 1.5 times.ExpandRatio should be used to ensure that the set of features can be viewed easily. Otherwise, some features may be at the very edge of the displayed map extent. If the ExpandRatio is not set (the default value is 1) some of the selected features will be located at the very edge of the map image. A number greater than 1 will "zoom out", providing a spatial buffer around the selected features. A number less than 1 will "zoom in".

See Also

IFeatureExtent Interface