Error processing SSI file
LEADTOOLS Annotations (Leadtools.Annotations assembly)

Show in webframe

AutomationPaint Event






An event that triggers whenever the surface of the control is invalidated
Syntax
event PaintEventHandler AutomationPaint
'Declaration
 
Event AutomationPaint As PaintEventHandler
'Usage
 
Dim instance As IAnnAutomationControl
Dim handler As PaintEventHandler
 
AddHandler instance.AutomationPaint, handler

            

            
event PaintEventHandler^ AutomationPaint
Event Data

The event handler receives an argument of type PaintEventArgs containing data related to this event. The following PaintEventArgs properties provide information specific to this event.

PropertyDescription
ClipRectangle Gets the rectangle in which to paint.
Graphics Gets the graphics used to paint.
Remarks

The automation control will then automatically use the values of the event arguments to draw the annotations objects. In most cases, you simply have to trigger this event in your control System.Windows.Forms.Control.Paint event or System.Windows.Forms.Control.OnPaint method and pass the same arguments (of type System.Windows.Forms.PaintEventArgs) to IAnnAutomationControl.AutomationPaint.

Example
For an example, refer to IAnnAutomationControl.
Requirements

Target Platforms

See Also

Reference

IAnnAutomationControl Interface
IAnnAutomationControl Members

Error processing SSI file
(Deprecated, use Leadtools.Annotations.Core instead)