Leadtools.WinForms Namespace > RasterImageViewer Class : AutoInteractiveMagnifyGlass Property |
[CategoryAttribute("Interactive Mode")] [DefaultValueAttribute()] [DescriptionAttribute("Always on magnifying glass interactive mode.")] public virtual bool AutoInteractiveMagnifyGlass {get; set;}
'Declaration <CategoryAttribute("Interactive Mode")> <DefaultValueAttribute()> <DescriptionAttribute("Always on magnifying glass interactive mode.")> Public Overridable Property AutoInteractiveMagnifyGlass As Boolean
'Usage Dim instance As RasterImageViewer Dim value As Boolean instance.AutoInteractiveMagnifyGlass = value value = instance.AutoInteractiveMagnifyGlass
[CategoryAttribute("Interactive Mode")] [DefaultValueAttribute()] [DescriptionAttribute("Always on magnifying glass interactive mode.")] public: virtual property bool AutoInteractiveMagnifyGlass { bool get(); void set ( bool value); }
The RasterImageViewer class supports a magnify glass interactive mode. When selecting this mode in 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 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.