ListBoxCollection
AddListBox Method
|
Adds a new ListBox to the specified position and size within a layout.
Namespace:
Spire.Xls.Core.Spreadsheet.Collections
Assembly:
Spire.XLS (in Spire.XLS.dll) Version: 15.4.0.0 (15.4.0.5046)
Syntax
public IListBox AddListBox(
int row,
int column,
int height,
int width
)
Public Function AddListBox (
row As Integer,
column As Integer,
height As Integer,
width As Integer
) As IListBox
public:
virtual IListBox^ AddListBox(
int row,
int column,
int height,
int width
) sealed
abstract AddListBox :
row : int *
column : int *
height : int *
width : int -> IListBox
override AddListBox :
row : int *
column : int *
height : int *
width : int -> IListBox
Parameters
-
row
-
Type:
System
Int32
The row index where the ListBox will be placed.
-
column
-
Type:
System
Int32
The column index where the ListBox will be placed.
-
height
-
Type:
System
Int32
The height of the ListBox.
-
width
-
Type:
System
Int32
The width of the ListBox.
Return Value
Type:
IListBox
The newly created and added ListBox instance.
Implements
IListBoxes
AddListBox(Int32, Int32, Int32, Int32)
See Also