autoCreateCanvas Property

Summary

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

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

Property Value

true 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.

Requirements
Target Platforms
Help Version 21.0.2021.7.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Controls Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.