Accusoft.NotateXpress12.Net
UserDraw Event
See Also  Send Feedback
Accusoft.NotateXpressSdk Namespace > NotateXpress Class : UserDraw Event




Glossary Item Box

The UserDraw event is raised for a Rectangle object during its paint when the Rectangle’s UserDraw attribute is True.

Syntax

 
Visual Basic
C#
Managed Extensions for C++
C++/CLI
 
 

Event Data

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.

PropertyDescription
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.

Remarks

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.

See Also

©2013. Accusoft Corporation. All Rights Reserved.