LEADTOOLS JavaScript (Leadtools.Controls)
LEAD Technologies, Inc

VerticalScrollWidth Property


Gets the width of the vertical scrollbar.
Syntax
  get_verticalScrollWidth();  
!MISSING Scrap '_RTJavaScript_PROPERTY_SYNTAX'!

Property Value

TypeDescription
intThe width of the vertical scrollbar.
Remarks

Only available if ScrollMode is set to ImageViewerScrollMode.Auto.

You can 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-2012 All Rights Reserved. LEAD Technologies, Inc.