LEADTOOLS Windows Forms (Leadtools.WinForms assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.30
InteractiveRegionRectangle Event
See Also 
Leadtools.WinForms Namespace > RasterImageViewer Class : InteractiveRegionRectangle Event



Occurs when the user performs interactive creation of a rectangular region for the image.

Syntax

Visual Basic (Declaration) 
Public Event InteractiveRegionRectangle As EventHandler(Of RasterViewerRectangleEventArgs)
Visual Basic (Usage)Copy Code
Dim instance As RasterImageViewer
Dim handler As EventHandler(Of RasterViewerRectangleEventArgs)
 
AddHandler instance.InteractiveRegionRectangle, handler
C# 
public event EventHandler<RasterViewerRectangleEventArgs> InteractiveRegionRectangle
C++/CLI 
public:
event EventHandler<RasterViewerRectangleEventArgs^>^ InteractiveRegionRectangle

Event Data

The event handler receives an argument of type RasterViewerRectangleEventArgs containing data related to this event. The following RasterViewerRectangleEventArgs properties provide information specific to this event.

PropertyDescription
Cancel (Inherited from Leadtools.WinForms.RasterViewerInteractiveEventArgs)Gets or sets a value indicating whether the interactive mode should be canceled.
Rectangle Returns the current interactive mode rectangle.
Status (Inherited from Leadtools.WinForms.RasterViewerInteractiveEventArgs)Gets the current status of the interactive mode.

Example

Remarks

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also