Products | Support | Email a link to this topic. | Send comments on this topic. | Back to Introduction - All Topics | Help Version 19.0.4.3
|
Leadtools.Controls Assembly > Leadtools.Controls Namespace : ImageViewerCenterAtInteractiveMode Class |
public class ImageViewerCenterAtInteractiveMode : ImageViewerInteractiveMode
'Declaration
Public Class ImageViewerCenterAtInteractiveMode Inherits 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.
For more information, refer to Image Viewer Interactive Modes.
For an example, refer to ImageViewer.InteractiveModes.