←Select platform

OnPaintImage Method

Summary

Occurs when the Image for the Magnifying Glass is redrawn.

Syntax

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

Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
Leadtools.WinForms Assembly
Click or drag to resize