function Leadtools.Controls.ImageViewerInteractiveMode.start( viewer )
!MISSING Scrap '_RTJavaScript_Method_SYNTAX'!
Parameter | Type | Description |
---|---|---|
viewer | ImageViewer | The image viewer to associate with this mode. |
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.
For an example, refer to ImageViewerInteractiveMode.