Leadtools.Windows.Controls Send comments on this topic. | Back to Introduction - LEADTOOLS WPF | Help Version 16.5.9.25
MagnifyGlass Class
See Also  Members  
Leadtools.Windows.Controls Namespace : MagnifyGlass Class





Represents a LEADTOOLS MagnifyGlass control used to "zoom in" on a portion of an image.

Syntax

Visual Basic (Declaration) 
<TypeConverterAttribute("Leadtools.Windows.Controls.MagnifyGlassConverter, Leadtools.Windows.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=null")>
Public Class MagnifyGlass 
   Inherits FrameworkElement
Visual Basic (Usage)Copy Code
Dim instance As MagnifyGlass
C# 
[TypeConverterAttribute("Leadtools.Windows.Controls.MagnifyGlassConverter, Leadtools.Windows.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=null")]
public class MagnifyGlass : FrameworkElement 
C++/CLI 
[TypeConverterAttribute("Leadtools.Windows.Controls.MagnifyGlassConverter, Leadtools.Windows.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=null")]
public ref class MagnifyGlass : public FrameworkElement 
XAML Object Element Usage 

<MagnifyGlass .../>

XAML Object Element Usage 

<MagnifyGlass .../>

Example

For XAML example, refer to Shape.

For C#/VB examples, refer to Shape.

Remarks

The MagnifyGlass is used to "zoom in" on a portion of an image displayed in the BitmapSourceViewer control. When a user clicks inside the BitmapSourceViewer control associated with the MagnifyGlass control, the portion of the image around the mouse cursor will be zoomed in. When a user clicks inside the BitmapSourceViewer control and moves the mouse, while holding down the button, the zoomed in portion will change according to the mouse pointer position on the bitmap.

Inheritance Hierarchy

System.Object
   System.Windows.Threading.DispatcherObject
      System.Windows.DependencyObject
         System.Windows.Media.Visual
            System.Windows.UIElement
               System.Windows.FrameworkElement
                  Leadtools.Windows.Controls.MagnifyGlass

Requirements

Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Vista, Windows Server 2003 family, Windows Server 2008 family

See Also