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
)
Function AddLine (
startPoint As Point,
endPoint As Point,
lineShapeType As LineShapeType
) As ILineShape
ILineShape^ AddLine(
Point startPoint,
Point endPoint,
LineShapeType lineShapeType
)
abstract AddLine :
startPoint : Point *
endPoint : Point *
lineShapeType : LineShapeType -> ILineShape
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