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
[CategoryAttribute("NotateXpress")]
public event NotateXpress.UserDrawEventHandler UserDraw
[CategoryAttribute("NotateXpress")]
public: __event NotateXpress.UserDrawEventHandler* UserDraw
[CategoryAttribute("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
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

Reference

NotateXpress Class
NotateXpress Members

 

 


©2015. Accusoft Corporation. All Rights Reserved.

Send Feedback