LEADTOOLS JavaScript (Leadtools.Controls)

ControlSize Property

Show in webframe
Gets the control size.
Syntax
get_controlSize();
Object.defineProperty('controlSize');

Property Value

TypeDescription
LeadSizeDThe control size.
Remarks

The viewer hooks to standard HTML Window "sizechanged" or "orientationchange" events depending on the browser being used. This will allow the viewer to recalculate the transformation matrix and cause a render if the size of the control (container DIV) changes. If however, the size of the control is changed programatically or due to CSS rules that do not fire "sizechanged" or "orientationchange", then the control will not be updated. You must call OnSizeChanged to trigger the control to update its transformation.

The control size is stored in ControlSize.

See Also

Reference

ImageViewer Object
ImageViewer Members

 

 


Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.