Click or drag to resize

IListBoxes AddListBox Method

Adds a new ListBox to the specified position and size within a grid layout.

Namespace: Spire.Xls.Core
Assembly: Spire.XLS (in Spire.XLS.dll) Version: 15.4.0.0 (15.4.0.5046)
Syntax
IListBox AddListBox(
	int row,
	int column,
	int height,
	int width
)

Parameters

row
Type: System Int32
The zero-based index of the row where the ListBox will be placed.
column
Type: System Int32
The zero-based index of the column where the ListBox will be placed.
height
Type: System Int32
The number of rows the ListBox will span.
width
Type: System Int32
The number of columns the ListBox will span.

Return Value

Type: IListBox
The newly created and configured ListBox instance.
See Also