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


IMap.RecalcFullExtent Method (ArcObjects .NET 10.7 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IM > IMap Interface > IMap.RecalcFullExtent Method
ArcGIS Developer Help

IMap.RecalcFullExtent Method

Forces the full extent to be recalculated.

[Visual Basic .NET]
Public Sub RecalcFullExtent ( _
)
[C#]
public void RecalcFullExtent (
);
[C++]
HRESULT RecalcFullExtent(
void
);

Product Availability

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

Remarks

Recalculates the Map's full extent so that all of the Map's feature layers, fall within its bounds.

AddLayer, AddLayers, and DeleteLayer all call RecalcFullExtent automatically.

See Also

IMap Interface