Click or drag to resize

IButtonShapes AddButton Method

Adds a button to the specified grid position with the given dimensions.

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

Parameters

row
Type: System Int32
The row index where the button will be placed.
column
Type: System Int32
The column index where the button will 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 IButtonShape representing the added button.
See Also