ImageViewerZoomToInteractiveMode Object

Summary

Zooms to a rectangle on the image.

Syntax
TypeScript
JavaScript
function lt.Controls.ImageViewerZoomToInteractiveMode 
	extends lt.Controls.ImageViewerRubberBandInteractiveMode 
class lt.Controls.ImageViewerZoomToInteractiveMode() 
	extends ImageViewerRubberBandInteractiveMode 
Remarks

ImageViewerZoomToInteractiveMode derives from ImageViewerRubberBandInteractiveMode and waits for the rubberBandCompleted event. When this event fires, it will call ImageViewer.zoomToRect.

This interactive mode does not subscribe to any additional events from the InteractiveService beyond those in ImageViewerRubberBandInteractiveMode, and does not make additional modifications to InteractiveEventArgs.isHandled.

For more information, refer to Image Viewer Interactive Modes.

Example

For an example, refer to ImageViewer.InteractiveModes.

Requirements

Target Platforms

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

Leadtools.Controls Assembly

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2022 LEAD Technologies, Inc. All Rights Reserved.