public event EventHandler<ImageViewerRubberBandEventArgs> RubberBandStarted
add_RubberBandStarted(function(sender, e)) remove_RubberBandStarted(function(sender, e))
The event handler receives an argument of type ImageViewerRubberBandEventArgs containing data related to this event. The following ImageViewerRubberBandEventArgs properties provide information specific to this event.
Property | Description |
---|---|
Point1 | Gets or sets the location of the first point. |
Point2 | Gets or sets the location of the second point. |
This event will fire when OnRubberBandStarted is called.
ImageViewerRubberBandEventArgsFor an example, refer to ImageViewerRubberBandInteractiveMode.
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2