Leadtools.Controls Namespace > ImageViewerInteractiveMode Object : Start Method |
function Leadtools.Controls.ImageViewerInteractiveMode.start( imageViewer )
Parameter | Type | Description |
---|---|---|
imageViewer | 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 in the viewer and enables it. 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.