LEADTOOLS Windows Forms (Leadtools.WinForms assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.30
PreImagePaint Event
See Also 
Leadtools.WinForms Namespace > RasterImageViewer Class : PreImagePaint Event



Occurs before immediately before the RasterImageViewer does any painting.

Syntax

Visual Basic (Declaration) 
Public Event PreImagePaint As PaintEventHandler
Visual Basic (Usage)Copy Code
Dim instance As RasterImageViewer
Dim handler As PaintEventHandler
 
AddHandler instance.PreImagePaint, handler
C# 
public event PaintEventHandler PreImagePaint
C++/CLI 
public:
event PaintEventHandler^ PreImagePaint

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