ImageViewerZoomAtInteractiveMode Object

Summary

Zooms the image inside the viewer around the user's mouse click or touch tap.

Syntax
TypeScript
JavaScript
function lt.Controls.ImageViewerZoomAtInteractiveMode 
	extends lt.Controls.ImageViewerInteractiveMode 
class lt.Controls.ImageViewerZoomAtInteractiveMode() 
	extends ImageViewerInteractiveMode 

Remarks

The ImageViewerZoomAtInteractiveMode object derives from the ImageViewerInteractiveMode object and subscribes to the following events of the InteractiveService:

When a valid tap event occurs and InteractiveEventArgs.isHandled is false, this interactive mode will start working and set InteractiveEventArgs.isHandled to true.

This interactive mode uses ImageViewer.zoom to zoom the image inside the viewer based on the tap event. If the value of ScaleFactor is greater than 1, then the viewer will zoom the image in. If the value of ScaleFactor is less than 1, then the viewer will zoom the image out.

For more information, refer to Image Viewer Interactive Modes.

Example

For an example, refer to ImageViewer.InteractiveModes.

Requirements

Target Platforms

Help Version 20.0.2020.4.3
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Controls Assembly