Error processing SSI file
LEADTOOLS JavaScript (Leadtools.Controls)

AutoCreateCanvas Property (ImageViewer)

Show in webframe
Indicates whether to automatically create the HTML5 Canvas Element when the image is updated.
Syntax
get_autoCreateCanvas();
set_autoCreateCanvas(value);
Object.defineProperty('autoCreateCanvas');

Property Value

TypeDescription
booleantrue to automatically create the canvas when the image is updated; otherwise, false. Default value is false.
Remarks

This is a helper property for applications that use ImageViewer in single item mode. It is a shortcut to AutoCreateCanvas of ActiveItem. For more information, refer to Image Viewer in Single Item Mode.

Example

For an example, refer to ImageViewerItem.AutoCreateCanvas.

See Also

Reference

ImageViewer Object
ImageViewer Members

Error processing SSI file