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

OnPaintBorder Method






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
)
 function Leadtools.WinForms.RasterMagnifyGlass.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: 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.