Adds a line shape to the specified row and column with the given width, height, and line shape type.
Namespace:
Spire.Xls.Core
Assembly:
Spire.XLS (in Spire.XLS.dll) Version: 15.4.0.0 (15.4.0.5046)
Syntax
ILineShape AddLine(
int row,
int column,
int width,
int height,
LineShapeType lineShapeType
)
Function AddLine (
row As Integer,
column As Integer,
width As Integer,
height As Integer,
lineShapeType As LineShapeType
) As ILineShape
ILineShape^ AddLine(
int row,
int column,
int width,
int height,
LineShapeType lineShapeType
)
abstract AddLine :
row : int *
column : int *
width : int *
height : int *
lineShapeType : LineShapeType -> ILineShape
Parameters
-
row
-
Type:
System
Int32
The row index where the line shape will be added.
-
column
-
Type:
System
Int32
The column index where the line shape will be added.
-
width
-
Type:
System
Int32
The width of the line shape.
-
height
-
Type:
System
Int32
The height of the line shape.
-
lineShapeType
-
Type:
Spire.Xls
LineShapeType
The type of the line shape to be added.
Return Value
Type:
ILineShape
The ILineShape object representing the newly added line shape.
See Also