GdPicture.NET Reference Guide
RectEditedByUser Event (GdViewer)

GdPicture14 Namespace > GdViewer Class : RectEditedByUser Event
This event is raised when the user has drawn or edited the rectangle of area selection using the mouse.

Please check the corresponded GdViewer.RectEditedByUserEventHandler for more details.

Public Event RectEditedByUser As GdViewer.RectEditedByUserEventHandler
public event GdViewer.RectEditedByUserEventHandler RectEditedByUser
public event RectEditedByUser: GdViewer.RectEditedByUserEventHandler; 
In JScript, you can handle the events defined by another class, but you cannot define your own.
public: __event GdViewer.RectEditedByUserEventHandler* RectEditedByUser
event GdViewer.RectEditedByUserEventHandler^ RectEditedByUser
How to add this event to your GdViewer control.
'We assume that the GdViewer1 control has been properly integrated.
Friend WithEvents GdViewer1 As GdPicture14.GdViewer
'Add the event.
AddHandler GdViewer1.RectEditedByUser, AddressOf GdViewer1_RectEditedByUser
'Define the event.
Sub GdViewer1_RectEditedByUser() Handles GdViewer1.RectEditedByUser
    'Do your stuff here.
End Sub
//We assume that the GdViewer1 control has been properly integrated.
//Add the event.
GdViewer1.RectEditedByUser += GdViewer1_RectEditedByUser;
//Define the event.
void GdViewer1_RectEditedByUser()
    //Do your stuff here.
See Also


GdViewer Class
GdViewer Members
GdViewer.RectEditedByUserEventHandler Delegate
IsRectDrawing Method
IsRectEditing Method