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 |
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.
Property | Description |
---|---|
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. |
Refer to RasterViewerRectangleEventArgs.
Only occurs when the RasterImageViewer.InteractiveMode property is set to RasterViewerInteractiveMode.Region and the RasterImageViewer.InteractiveRegionType is set to RasterViewerInteractiveRegionType.Rectangle.
Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7