ArcObjects Library Reference (Controls)  

IMapControlEvents2.OnFullExtentUpdated Event

Fires after the full extent (bounds) of the MapControl has changed.

[Visual Basic .NET]
Public Event OnFullExtentUpdated As OnFullExtentUpdatedEventHandler
[C#]
public event OnFullExtentUpdatedEventHandler OnFullExtentUpdated
[C++]
HRESULT OnFullExtentUpdated(
  VARIANT displayTransformation,
  VARIANT newEnvelope
);
[C++]

Parameters

displayTransformation [in]   displayTransformation is a parameter of type VARIANT newEnvelope [in]   newEnvelope is a parameter of type VARIANT

Product Availability

Available with ArcGIS Engine.

Description

OnFullExtentUpdated is triggered whenever IMapControl2::FullExtent is set. For example, the event is triggered when a layer is added to the map's layer collection and its data extent is greater than any of the other layers in the layer collection.

See Also

IMapControlEvents2 Interface