get_restartOnImageChange();
Object.defineProperty('restartOnImageChange');
Type | Description |
---|---|
boolean | true if this interactive mode should re-start if the image in the viewer has changed, otherwise; false. Default value is true. |
The ImageViewer control will check the value of this property to determine whether this mode should be restarted (the Start and Stop methods are called) if the image in the viewer is changed. This allows the interactive mode to re-calculate the position and size of the image/canvas element.
If your interactive mode will set a new image in the viewer, then you must override this method and return false to prevent the viewer from re-starting the mode.