LEADTOOLS Windows Forms (Leadtools.WinForms assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.30
AutoInteractiveMagnifyGlass Property
See Also 
Leadtools.WinForms Namespace > RasterImageViewer Class : AutoInteractiveMagnifyGlass Property



Gets or sets a value that indicate whether to always show the magnify glass when the interactive mode is set to magnify glass.

Syntax

Visual Basic (Declaration) 
<DescriptionAttribute("Always on magnifying glass interactive mode.")>
<DefaultValueAttribute()>
<CategoryAttribute("Interactive Mode")>
Public Overridable Property AutoInteractiveMagnifyGlass As Boolean
Visual Basic (Usage)Copy Code
Dim instance As RasterImageViewer
Dim value As Boolean
 
instance.AutoInteractiveMagnifyGlass = value
 
value = instance.AutoInteractiveMagnifyGlass
C# 
[DescriptionAttribute("Always on magnifying glass interactive mode.")]
[DefaultValueAttribute()]
[CategoryAttribute("Interactive Mode")]
public virtual bool AutoInteractiveMagnifyGlass {get; set;}
C++/CLI 
[DescriptionAttribute("Always on magnifying glass interactive mode.")]
[DefaultValueAttribute()]
[CategoryAttribute("Interactive Mode")]
public:
virtual property bool AutoInteractiveMagnifyGlass {
   bool get();
   void set (    bool value);
}

Property Value

true to always show the magnify glass when the interactive mode is set to magnify glass. false, otherwise. Default value is false.

Remarks

The RasterImageViewer class supports a magnify glass interactive mode. When selecting this mode in RasterImageViewer.InteractiveMode, a magnify glass will appear to show in better zoomed in details, the parts of the image beneath the mouse cursor.

When the value of the AutoInteractiveMagnifyGlass is false (the default), the magnify glass will appear when the user clicks the current interactive mode mouse button (left by default). The magnify glass will continue to appear as the user holds button down and moves the mouse. When the user lets go of the button, the magnify glass will disappear.

If the value of the AutoInteractiveMagnifyGlass is true (and the current RasterImageViewer.InteractiveMode is RasterViewerInteractiveMode.MagnifyGlass), then the magnify glass will automatically appear as soon as the mouse cursor hovers over the viewer (provided there is an image in the viewer). The user can move the mouse and the hence, the magnify glass without having to hold down the current interactive mouse button.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also