LEADTOOLS Windows Forms (Leadtools.WinForms assembly)
LEAD Technologies, Inc

OnPaintImage Method






The Graphics object used to paint.
The center point of the Magnifying Glass rectangle
Occurs when the Image for the Magnifying Glass is redrawn.
Syntax
protected virtual void OnPaintImage( 
   Graphics graphics,
   Point centerPoint
)
'Declaration
 
Protected Overridable Sub OnPaintImage( _
   ByVal graphics As Graphics, _
   ByVal centerPoint As Point _
) 
'Usage
 
Dim instance As RasterMagnifyGlass
Dim graphics As Graphics
Dim centerPoint As Point
 
instance.OnPaintImage(graphics, centerPoint)
protected virtual void OnPaintImage( 
   Graphics graphics,
   Point centerPoint
)
 function Leadtools.WinForms.RasterMagnifyGlass.OnPaintImage( 
   graphics ,
   centerPoint 
)
protected:
virtual void OnPaintImage( 
   Graphics^ graphics,
   Point centerPoint
) 

Parameters

graphics
The Graphics object used to paint.
centerPoint
The center point of the Magnifying Glass rectangle
Remarks
You can override this method in order to perform your own painting for the Magnifying Glass. Call the base class implementation for the default behavior.
Example
Refer to the tutorial Advanced Magnifying Glass.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

RasterMagnifyGlass Class
RasterMagnifyGlass Members

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.