This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IM > IMap Interface > IMap.RecalcFullExtent Method (ArcObjects .NET 10.4 SDK) |
Forces the full extent to be recalculated.
[Visual Basic .NET]
Public Sub RecalcFullExtent ( _
)
[C#] public void RecalcFullExtent ( );
[C++]
HRESULT RecalcFullExtent(
void
);
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.