LEADTOOLS Windows Forms (Leadtools.WinForms assembly)

OnPaintBorder Method

Show in webframe





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

            

            
protected:
virtual void OnPaintBorder( 
   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 paint your own border for the Magnifying Glass. Call the base class implementation for the default behavior.
Example
Refer to OnPaintCrosshair example.
Requirements

Target Platforms

See Also

Reference

RasterMagnifyGlass Class
RasterMagnifyGlass Members

 

 


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