[]
        
(Showing Draft Content)

GrapeCity.Spreadsheet.FormControls.IScrollBars.Add

Add Method

Add(double, double, double, double)

Creates a scroll bar control.

Declaration
IScrollBar Add(double x, double y, double width, double height)
Function Add(x As Double, y As Double, width As Double, height As Double) As IScrollBar
Parameters
Type Name Description
double x

The initial horizontal position of the shape, in pixels, relative to the upper-left corner of cell A1 on a worksheet.

double y

The initial vertical position of the shape, in pixels, relative to the upper-left corner of cell A1 on a worksheet.

double width

The initial width, in pixels, of the shape.

double height

The initial height, in pixels, of the shape.

Returns
Type Description
IScrollBar

The IScrollBar object represents the new scroll bar control.