←Select platform

OnPaintBorder Method

Summary

Occurs when the Magnifying Glass border is redrawn.

Syntax

C#
VB
C++
protected virtual void OnPaintBorder( 
   Graphics graphics, 
   Point centerPoint 
) 
  
Protected Overridable Sub OnPaintBorder( _ 
   ByVal graphics As Graphics, _ 
   ByVal centerPoint As Point _ 
)  
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

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.WinForms Assembly