LEADTOOLS JavaScript (Leadtools.Controls)

Start Method (ImageViewerInteractiveMode)

Show in webframe
The image viewer to associate with this mode.
Starts the mode.
Syntax
 function Leadtools.Controls.ImageViewerInteractiveMode.start( 
   viewer 
)

Parameters

ParameterTypeDescription
viewerImageViewerThe 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 SetMouseInteractiveMode, 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.

See Also

Reference

ImageViewerInteractiveMode Object
ImageViewerInteractiveMode Members

 

 


Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.