This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Controls > ESRI ArcGIS Controls > Interfaces > IM > IMapControlEvents2 Interface > IMapControlEvents2.OnFullExtentUpdated Event (ArcObjects .NET 10.4 SDK) |
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
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.