This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IF > IFeatureExtent Interface > IFeatureExtent.ExpandRatio Property (ArcObjects .NET 10.4 SDK) |
Ratio used to expand the extent.
[Visual Basic .NET] Public Property ExpandRatio As Double
[C#] public double ExpandRatio {get; set;}
[C++]
HRESULT get_ExpandRatio(
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
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".