Click or drag to resize

ILines AddLine Method

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
)

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