LEADTOOLS JavaScript (Leadtools.Controls)

VerticalScrollWidth Property

Show in webframe
Gets the width of the vertical scrollbar.
Syntax
get_verticalScrollWidth();
Object.defineProperty('verticalScrollWidth');

Property Value

TypeDescription
intThe width of the vertical scrollbar.
Remarks

Only available if ScrollMode is set to ImageViewerScrollMode.Auto.

Use this value to calculate the size of the client area of the control not covered by the visible scrollbars:


            var width = viewer.get_controlSize.get_width() - viewer.get_horizontalScrollHeight();
            var height = viewer.get_controlSize.get_height() - viewer.get_verticalScrollWidth();
            
See Also

Reference

ImageViewer Object
ImageViewer Members

 

 


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