com.esri.arcgis.controls
Class IMapControlEvents2OnExtentUpdatedEvent
java.lang.Object
java.util.EventObject
com.esri.arcgis.controls.IMapControlEvents2OnExtentUpdatedEvent
- All Implemented Interfaces:
- Serializable
public class IMapControlEvents2OnExtentUpdatedEvent
- extends EventObject
Description
OnExtentUpdated is triggered whenever the IMapControl2::Extent property is changed. Setting the extent explicitly, zooming, panning or using the IMapControl2::CenterAt method will change the extent.
The envelope that gets passed into the newEnvelope event parameter is identical to the envelope returned by the IDisplayTransformation::VisibleBounds property. In the context of the ControlsMapZoomInTool or ControlsMapZoomOutTool commands, this is the extent of the rectangle drawn by the user. When the zoom action is performed, the digitized extent is modified to match the aspect ratio of the display. Both the IMapControl2::Extent or IDisplayTransformation::FittedBounds properties return the true visible extent of the display.
Product Availability
Available with ArcGIS Engine.
- See Also:
- Serialized Form
IMapControlEvents2OnExtentUpdatedEvent
public IMapControlEvents2OnExtentUpdatedEvent(Object source)
init
public void init(Object displayTransformation,
boolean sizeChanged,
Object newEnvelope)
getDisplayTransformation
public final Object getDisplayTransformation()
getSizeChanged
public final boolean getSizeChanged()
getNewEnvelope
public final Object getNewEnvelope()