Centers (and optionally zooms) the image inside the viewer based on user mouse click or touch tap.
public class ImageViewerCenterAtInteractiveMode : ImageViewerInteractiveMode
Public Class ImageViewerCenterAtInteractiveMode
Inherits ImageViewerInteractiveMode
public ref class ImageViewerCenterAtInteractiveMode : ImageViewerInteractiveMode
ImageViewerCenterAtInteractiveMode derives from ImageViewerInteractiveMode and subscribes to the following events of the InteractiveService:
This interactive mode uses ImageViewer.CenterAtPoint to center the image inside the viewer based on the tap event. Additionally, if the value of ScaleFactor is anything other than the default value of 1, then this mode will zoom in (if the value is greater than 1) or zoom out (if the value is less than 0) the image as well around the same center point.
When responding to a tap event, this mode will set InteractiveEventArgs.IsHandled to true.
For more information, refer to Image Viewer Interactive Modes.
For an example, refer to ImageViewer.InteractiveModes.
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document