ImageViewerMagnifyGlassInteractiveMode Object

Summary

Shows a magnified version of the image on top of the viewer.

Syntax
TypeScript
JavaScript
function lt.Controls.ImageViewerMagnifyGlassInteractiveMode 
	extends lt.Controls.ImageViewerSpyGlassInteractiveMode 
class lt.Controls.ImageViewerMagnifyGlassInteractiveMode() 
	extends ImageViewerSpyGlassInteractiveMode 
Remarks

ImageViewerMagnifyGlassInteractiveMode derives from ImageViewerSpyGlassInteractiveMode and waits for the DrawImage event. When this event fires, it will then use the ScaleFactor value to draw a magnified version of the image area underneath the spy glass on top of the viewer.

Drawing a rubber-band on the viewer is usually followed by another user operation to perform the action. In most cases, the rubber band is to be restricted on the "work" area. The RestrictToWorkBounds can control this behavior.

This interactive mode does not subscribe to any additional events from the InteractiveService beyond those in ImageViewerSpyGlassInteractiveMode and does not set InteractiveEventArgs.IsHandled to true in any additional way.

For more information, refer to Image Viewer Interactive Modes.

Example

For an example, refer to ImageViewer.InteractiveModes.

Requirements
Target Platforms
Help Version 21.0.2021.7.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Controls Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.