PrstGeomShapeCollection
AddPrstGeomShape Method
|
Add a preset shape to prstgeomshape collection;
Namespace:
Spire.Xls.Core.Spreadsheet.Collections
Assembly:
Spire.XLS (in Spire.XLS.dll) Version: 15.4.0.0 (15.4.0.5046)
Syntax
public IPrstGeomShape AddPrstGeomShape(
int row,
int column,
int width,
int height,
PrstGeomShapeType shapeType
)
Public Function AddPrstGeomShape (
row As Integer,
column As Integer,
width As Integer,
height As Integer,
shapeType As PrstGeomShapeType
) As IPrstGeomShape
public:
virtual IPrstGeomShape^ AddPrstGeomShape(
int row,
int column,
int width,
int height,
PrstGeomShapeType shapeType
) sealed
abstract AddPrstGeomShape :
row : int *
column : int *
width : int *
height : int *
shapeType : PrstGeomShapeType -> IPrstGeomShape
override AddPrstGeomShape :
row : int *
column : int *
width : int *
height : int *
shapeType : PrstGeomShapeType -> IPrstGeomShape
Parameters
-
row
-
Type:
System
Int32
shape's first row number in worksheet
-
column
-
Type:
System
Int32
shape's first column number in worksheet
-
width
-
Type:
System
Int32
shape's width, in unit of pixel.
-
height
-
Type:
System
Int32
shape's height, in unit of pixel.
-
shapeType
-
Type:
Spire.Xls
PrstGeomShapeType
shape's type
Return Value
Type:
IPrstGeomShape
Implements
IPrstGeomShapes
AddPrstGeomShape(Int32, Int32, Int32, Int32, PrstGeomShapeType)
See Also