Spread WPF 18
GrapeCity.Spreadsheet.FormControls Namespace / IListBoxes Interface / Add Method
The initial horizontal position of the shape, in pixels, relative to the upper-left corner of cell A1 on a worksheet.
The initial vertical position of the shape, in pixels, relative to the upper-left corner of cell A1 on a worksheet.
The initial width, in pixels, of the shape.
The initial height, in pixels, of the shape.


In This Topic
    Add Method (IListBoxes)
    In This Topic
    Creates a list box control.
    Syntax
    'Declaration
     
    Function Add( _
       ByVal x As Double, _
       ByVal y As Double, _
       ByVal width As Double, _
       ByVal height As Double _
    ) As IListBox
    'Usage
     
    Dim instance As IListBoxes
    Dim x As Double
    Dim y As Double
    Dim width As Double
    Dim height As Double
    Dim value As IListBox
     
    value = instance.Add(x, y, width, height)
    IListBox Add( 
       double x,
       double y,
       double width,
       double height
    )

    Parameters

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

    Return Value

    The IListBox object represents the new list box control.
    See Also