Leadtools.Windows.Controls Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.03.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=1.0.0.0, Culture=neutral, PublicKeyToken=null")>
Public Class MagnifyGlass 
   Inherits FrameworkElement
   Implements IElement 
Visual Basic (Usage)Copy Code
Dim instance As MagnifyGlass
C# 
[TypeConverterAttribute("Leadtools.Windows.Controls.MagnifyGlassConverter, Leadtools.Windows.Controls, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null")]
public class MagnifyGlass : FrameworkElement, IElement  
Managed Extensions for C++ 
[TypeConverterAttribute("Leadtools.Windows.Controls.MagnifyGlassConverter, Leadtools.Windows.Controls, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null")]
public __gc class MagnifyGlass : public FrameworkElement, IElement  
C++/CLI 
[TypeConverterAttribute("Leadtools.Windows.Controls.MagnifyGlassConverter, Leadtools.Windows.Controls, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null")]
public ref class MagnifyGlass : public FrameworkElement, IElement  
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, and Windows Server 2003 family

See Also