Click or drag to resize

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
)

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