Leadtools.Controls Namespace > ImageViewer Object : AutoCreateCanvas Property |
get_autoCreateCanvas();
set_autoCreateCanvas(value);
Object.defineProperty('autoCreateCanvas');
Type | Description |
---|---|
boolean | true to automatically create the canvas when the image is updated; otherwise, false. Default value is false. |
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.
For an example, refer to ImageViewerItem.AutoCreateCanvas.