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


IMap.RecalcFullExtent Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Carto)  

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