Accusoft.NotateXpressSdk Namespace > NotateXpress Class : UserDraw Event |
The event handler receives an argument of type UserDrawEventArgs containing data related to this event. The following UserDrawEventArgs properties provide information specific to this event.
Property | Description |
---|---|
Element | Gets the rectangle element being drawn. |
HandleDeviceContext | Gets the device context to draw to. |
Height | Gets the height of the rectangle to draw. |
Layer | Gets the layer on which the rectangle is drawn. |
UserLong | Gets the user supplied data. |
Width | Gets the width of the rectangle to draw. |
X | Gets the x coordinate of the rectangle to draw. |
Y | Gets the y coordinate of the rectangle to draw. |
When the UserDraw event is raised, the Rectangle does not perform its normal painting, but simply raises the event.
The event passes the device context, the Rectangle’s coordinates, Layer, Element, and UserLong.