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