eventCanvas Property


The Background HTML5 Canvas Element.


JavaScript Syntax
Object.defineProperty(ImageViewer.prototype, 'eventCanvas', 
	get: function() 
TypeScript Syntax
eventCanvas: HTMLCanvasElement; // read-only 

Property Value

The background canvas element of the viewer, used for pointer event capture, when supported; otherwise, null.


This element only exists when using Elements Mode and when HTML Pointer Events is supported. This canvas will accept pointer events for the ForeCanvas to assist with User-Defined HTML Display.

For more information, refer to Image Viewer Components, Image Viewer Elements Mode, and Image Viewer User Defined HTML Display.


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