Click or drag to resize

ButtonShapeCollection AddButton Method

Adds a button to the specified position and size.

Namespace: Spire.Xls.Core.Spreadsheet.Collections
Assembly: Spire.XLS (in Spire.XLS.dll) Version: 15.4.0.0 (15.4.0.5046)
Syntax
public IButtonShape AddButton(
	int row,
	int column,
	int height,
	int width
)

Parameters

row
Type: System Int32
The row index where the button should be placed.
column
Type: System Int32
The column index where the button should be placed.
height
Type: System Int32
The height of the button.
width
Type: System Int32
The width of the button.

Return Value

Type: IButtonShape
An instance of IButtonShape representing the added button.

Implements

IButtonShapes AddButton(Int32, Int32, Int32, Int32)
See Also