autoCreateCanvas Property (ImageViewer)

Summary

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

Syntax

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.

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

Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
Leadtools.Controls Assembly
Click or drag to resize