←Select platform

Start Method (ImageViewerInteractiveMode)

Summary

Starts the interactive mode.

Syntax

C#
VB
Java
Objective-C
WinRT C#
public virtual void Start(  
   Leadtools.Controls.ImageViewer viewer 
) 
Public Overridable Sub Start( _ 
   ByVal viewer As Leadtools.Controls.ImageViewer _ 
)  
public virtual void Start(  
   Leadtools.Controls.ImageViewer viewer 
) 
- (void)start:(LTImageViewer *)viewer 
public void start(ImageViewer viewer) 
 function Leadtools.Controls.ImageViewerInteractiveMode.Start(  
   viewer  
) 

Parameters

viewer
The image viewer to associate with this mode.

Remarks

This method must be overridden in your derived class when implementing your own interactive modes. For an example. refer to ImageViewerInteractiveMode.

The ImageViewer will call Start when the user sets this mode using MouseWheelInteractiveMode, TouchInteractiveMode or DefaultInteractiveMode. Typically, the mode should subscribe to the required events in InteractiveService and wait for user interaction. You should unsubscribe to these events when Stop is called.

Example

For an example, refer to ImageViewerInteractiveMode.

Requirements

Target Platforms

Help Version 19.0.2017.10.28
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Controls Assembly (WinRT / WPF / iOS / OS X / Android)