Click or drag to resize

IShapes AddLine Method

Adds new text line to the collection.

Namespace: Spire.Xls.Core
Assembly: Spire.XLS (in Spire.XLS.dll) Version: 15.4.0.0 (15.4.0.5046)
Syntax
ILineShape AddLine(
	Point startPoint,
	Point endPoint,
	LineShapeType lineShapeType
)

Parameters

startPoint
Type: System.Drawing Point
startPoint
endPoint
Type: System.Drawing Point
endPoint
lineShapeType
Type: Spire.Xls LineShapeType
lineShapeType

Return Value

Type: ILineShape
Newly created line.
See Also