Click or drag to resize

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
)

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