IRectangleShapes
AddRectangle Method
|
Adds a rectangle shape to the specified position with given dimensions and type.
Namespace:
Spire.Xls.Core
Assembly:
Spire.XLS (in Spire.XLS.dll) Version: 15.4.0.0 (15.4.0.5046)
Syntax
IRectangleShape AddRectangle(
int row,
int column,
int height,
int width,
RectangleShapeType rectShapeType
)
Function AddRectangle (
row As Integer,
column As Integer,
height As Integer,
width As Integer,
rectShapeType As RectangleShapeType
) As IRectangleShape
IRectangleShape^ AddRectangle(
int row,
int column,
int height,
int width,
RectangleShapeType rectShapeType
)
abstract AddRectangle :
row : int *
column : int *
height : int *
width : int *
rectShapeType : RectangleShapeType -> IRectangleShape
Parameters
-
row
-
Type:
System
Int32
The row position of the rectangle.
-
column
-
Type:
System
Int32
The column position of the rectangle.
-
height
-
Type:
System
Int32
The height of the rectangle.
-
width
-
Type:
System
Int32
The width of the rectangle.
-
rectShapeType
-
Type:
Spire.Xls
RectangleShapeType
The type of the rectangle shape.
Return Value
Type:
IRectangleShape
The added rectangle shape.
See Also