canvas Property (ImageViewer)


HTML5 Canvas Element to be displayed in the viewer (single item mode).


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

Property Value

The canvas to be displayed in the viewer (single item mode). Default value is null.


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


For an example, refer to Canvas


Target Platforms

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