LEADTOOLS JavaScript (Leadtools.Controls)

RestartOnImageChange Property

Show in webframe
Gets a value that indicates whether this interactive mode should re-start if the image in the viewer has changed.
Syntax
get_restartOnImageChange();
Object.defineProperty('restartOnImageChange');

Property Value

TypeDescription
booleantrue if this interactive mode should re-start if the image in the viewer has changed, otherwise; false. Default value is true.
Remarks

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.

See Also

Reference

ImageViewerInteractiveMode Object
ImageViewerInteractiveMode Members

 

 


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