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
)
Function AddButton (
row As Integer,
column As Integer,
height As Integer,
width As Integer
) As IButtonShape
IButtonShape^ AddButton(
int row,
int column,
int height,
int width
)
abstract AddButton :
row : int *
column : int *
height : int *
width : int -> IButtonShape
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