←Select platform

OnDrawImage Method (ImageViewerSpyGlassInteractiveMode)

Summary

You can override this method to draw your own image on the magnify glass rectangle available through SpyRectangleShape.

Syntax

C#
VB
Java
Objective-C
WinRT C#
protected virtual void OnDrawImage() 
Protected Overridable Sub OnDrawImage()  
protected virtual void OnDrawImage() 
- (void)onDraw:(CGContextRef)context touchLocation:(CGPoint)point 
protected void onDrawImage(ImageViewerSpyGlassDrawImageEvent event) 
 function Leadtools.Controls.ImageViewerSpyGlassInteractiveMode.OnDrawImage() 

Remarks

The OnDrawImage method allows derived classes to handle the event without attaching a function to the event. This is the preferred technique for handling the event in a derived class.

Note to Inheritors: When overriding OnDrawImage in a derived class, be sure to call the base class's OnDrawImage method so that registered delegates receive the event.

Requirements

Target Platforms

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

Leadtools.Controls Assembly (WinRT / WPF / iOS / OS X / Android)