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