maximumSize Property

Summary

The maximum width or height of the HTML5 Canvas Element when it is created automatically.

Syntax

JavaScript Syntax
Object.defineProperty(CanvasOptions.prototype, 'maximumSize', 
	get: function(), 
	set: function(value) 
) 
TypeScript Syntax
static maximumSize: number; 

Property Value

The maximum width or height of the canvas when the element is created automatically. A value of 0 means no maximum and to try all possible values. Default value is 0.

Remarks

Used when creating a canvas. Refer to AutoCreateCanvas for more information.

Example

For an example, refer to AutoCreateCanvas

Requirements

Target Platforms

Help Version 19.0.2017.10.18
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Controls Assembly