←Select platform

MagnifyGlass Class

Summary

Represents a LEADTOOLS magnify glass object for "zooming in" a portion of an image.

Syntax

C#
VB
C++
public class MagnifyGlass : DependencyObject 
  
Public Class MagnifyGlass  
   Inherits System.Windows.DependencyObject 
public ref class MagnifyGlass : public System.Windows.DependencyObject  

Remarks

The MagnifyGlass is used to "zoom in" a portion of an image displayed in the ImageViewer or RasterImageViewer controls when the controls InteractiveMode is set to InteractiveMode.MagnifyGlass.

When the user clicks inside the control associated with the MagnifyGlass object, the portion of the image around the mouse cursor will be zoomed in. While still clicking down, if the user moves the mouse cursor, inside the control, the zoomed in portion will change according to the mouse position showing the current portion under the cursor.

Example

C#
VB
Silverlight C#
Silverlight VB
using Leadtools.Help; 
using Leadtools.Windows.Controls; 
 
MagnifyGlass magnifyGlass = new MagnifyGlass(); 
Imports Leadtools.Windows.Controls 
 
Dim magnifyGlass As MagnifyGlass = New MagnifyGlass() 
using Leadtools.Help; 
using Leadtools.Windows.Controls; 
 
MagnifyGlass magnifyGlass = new MagnifyGlass(); 
Imports Leadtools.Windows.Controls 
 
Dim magnifyGlass As MagnifyGlass = New MagnifyGlass() 

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.Windows.Controls Assembly