LEADTOOLS Windows Forms (Leadtools.WinForms assembly)

OnPaintImage Method

Show in webframe





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
) 

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

See Also

Reference

RasterMagnifyGlass Class
RasterMagnifyGlass Members

 

 


Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.