autoCreateCanvas Property


Indicates whether to automatically create the HTML5 Canvas Element when the image is updated.


JavaScript Syntax
Object.defineProperty(ImageViewer.prototype, 'autoCreateCanvas', 
	get: function(), 
	set: function(value) 
TypeScript Syntax
autoCreateCanvas: boolean; 

Property Value

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.


Target Platforms

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Controls Assembly