LEADTOOLS Medical (Leadtools.Medical3D assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.30
Paint Event
See Also 
Leadtools.Medical3D Namespace > Medical3DControl Class : Paint Event



Occurs when the control is redrawn.

Syntax

Visual Basic (Declaration) 
<SRCategoryAttribute("Appearance")>
<SRDescriptionAttribute("Occurs when a control needs repainting.")>
Public Event Paint As PaintEventHandler
Visual Basic (Usage)Copy Code
Dim instance As Medical3DControl
Dim handler As PaintEventHandler
 
AddHandler instance.Paint, handler
C# 
[SRCategoryAttribute("Appearance")]
[SRDescriptionAttribute("Occurs when a control needs repainting.")]
public event PaintEventHandler Paint
C++/CLI 
[SRCategoryAttribute("Appearance")]
[SRDescriptionAttribute("Occurs when a control needs repainting.")]
public:
event PaintEventHandler^ Paint

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.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also

Leadtools.Medical3D requires a Document or Medical toolkit license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features