canvas Property (ImageViewerPanControl)

Summary

The target HTML5 Canvas Element for the pan control.

Syntax

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

Property Value

The target canvas element for the pan control. Default value is true.

Remarks

Set this property to a canvas in your page and the viewer will draw its content as well as the pan rectangle into its surface.

Example

For an example, refer to ImageViewerPanControl.

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