LEADTOOLS WPF and Silverlight (Leadtools.Windows.Controls assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.30
MagnifyGlass Property
See Also 
Leadtools.Windows.Controls Namespace > ImageViewer Class : MagnifyGlass Property



Gets or sets the MagnifyGlass object used to perform magnify glass operations for this control. Supported in Silverlight, Windows Phone 7

Syntax

Visual Basic (Declaration) 
Public Property MagnifyGlass As MagnifyGlass
Visual Basic (Usage)Copy Code
Dim instance As ImageViewer
Dim value As MagnifyGlass
 
instance.MagnifyGlass = value
 
value = instance.MagnifyGlass
C# 
public MagnifyGlass MagnifyGlass {get; set;}
C++/CLI 
public:
property MagnifyGlass^ MagnifyGlass {
   MagnifyGlass^ get();
   void set (    MagnifyGlass^ value);
}

Property Value

The MagnifyGlass object used to perform magnify glass operations for this control.

Example

For C#/VB examples, refer to MagnifyGlass.

Remarks

To use the magnify glass, change any of the properties of the MagnifyGlass object returned from this property if required then set ImageViewer.InteractiveMode to InteractiveMode.MagnifyGlass. Next, whenever there is an image in the control and the user presses down and moves the cursor on the control surface, the magnify glass will appear with the properties set.

Requirements

Target Platforms: Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family

See Also