Accusoft.NotateXpress13.Net
UserDraw Event




The UserDraw event is raised for a Rectangle object during its paint when the Rectangle’s UserDraw attribute is True.
Syntax
'Declaration
 
<CategoryAttribute("NotateXpress")>
Public Event UserDraw As NotateXpress.UserDrawEventHandler
'Usage
 
Dim instance As NotateXpress
Dim handler As NotateXpress.UserDrawEventHandler
 
AddHandler instance.UserDraw, handler
[Category("NotateXpress")]
public event NotateXpress.UserDrawEventHandler UserDraw
[Category("NotateXpress")]
public: __event NotateXpress.UserDrawEventHandler* UserDraw
[Category("NotateXpress")]
public:
event NotateXpress.UserDrawEventHandler^ UserDraw
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
ElementGets the rectangle element being drawn.  
HandleDeviceContextGets the device context to draw to.  
HeightGets the height of the rectangle to draw.  
LayerGets the layer on which the rectangle is drawn.  
UserLongGets the user supplied data.  
WidthGets the width of the rectangle to draw.  
XGets the x coordinate of the rectangle to draw.  
YGets 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

Reference

NotateXpress Class
NotateXpress Members

 

 


©2018. Accusoft Corporation. All Rights Reserved.

Send Feedback