IPrstGeomShapes
AddPrstGeomShape Method
|
Adds new item to the collection.
Namespace:
Spire.Xls.Core
Assembly:
Spire.XLS (in Spire.XLS.dll) Version: 15.4.0.0 (15.4.0.5046)
Syntax
IPrstGeomShape AddPrstGeomShape(
int row,
int column,
int height,
int width,
PrstGeomShapeType shapeType
)
Function AddPrstGeomShape (
row As Integer,
column As Integer,
height As Integer,
width As Integer,
shapeType As PrstGeomShapeType
) As IPrstGeomShape
IPrstGeomShape^ AddPrstGeomShape(
int row,
int column,
int height,
int width,
PrstGeomShapeType shapeType
)
abstract AddPrstGeomShape :
row : int *
column : int *
height : int *
width : int *
shapeType : PrstGeomShapeType -> IPrstGeomShape
Parameters
-
row
-
Type:
System
Int32
One-based row index of the top-left corner of the new item.
-
column
-
Type:
System
Int32
One-based column index of the top-left corner of the new item.
-
height
-
Type:
System
Int32
Height in pixels of the new item.
-
width
-
Type:
System
Int32
Width in pixels of the new item.
-
shapeType
-
Type:
Spire.Xls
PrstGeomShapeType
The PrstGeomShapeType.
Return Value
Type:
IPrstGeomShape
Newly added item.
See Also