←Select platform

ImageViewerZoomAtInteractiveMode Class

Summary

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

Syntax
C#
C++/CLI
public class ImageViewerZoomAtInteractiveMode : ImageViewerInteractiveMode 
public ref class ImageViewerZoomAtInteractiveMode : ImageViewerInteractiveMode 
Remarks

ImageViewerZoomAtInteractiveMode derives from ImageViewerInteractiveMode 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.

Requirements

Target Platforms

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

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