ArcObjects Library Reference  (Carto)    

IMap.RecalcFullExtent Method

Forces the full extent to be recalculated.

[Visual Basic 6.0]
Sub RecalcFullExtent
[Visual Basic .NET]
Public Sub RecalcFullExtent ( _
)
[C#]
public void RecalcFullExtent (
);
[Java]
public void recalcFullExtent (
)
throws
    IOException,
    AutomationException
[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