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


esriExtentTypeEnum Constants (ArcObjects .NET 10.6 SDK)
ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Constants > E > esriExtentTypeEnum Constants (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (Carto)  

esriExtentTypeEnum Constants

Map auto extent options.

Constant Value Description
esriExtentDefault 0 Extent is same as map's.
esriAutoExtentNone 0
esriExtentScale 1 Extent is calculated to preserve specified scale.
esriAutoExtentScale 1
esriExtentBounds 2 Extent is specified manually.
esriAutoExtentBounds 2
esriAutoExtentMarginPercent 3 Extent is calculated by applying a margin (specified as a percentage) to the extent of another data frame.
esriAutoExtentMarginMapUnits 4 Extent is calculated by applying a margin (specified in map units) to the extent of another data frame.
esriAutoExtentMarginPageUnits 5 Extent is calculated by applying a margin (specified in page units) to the extent of another data frame.
esriExtentPageIndex 6 Extent is driven by the page index.

Product Availability

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