LineCollection
AddLine Method (Int32, Int32, Int32, Int32, LineShapeType)
|
Adds a line shape to the specified row and column with the given width, height, and line shape type.
Namespace:
Spire.Xls.Core.Spreadsheet.Collections
Assembly:
Spire.XLS (in Spire.XLS.dll) Version: 15.4.0.0 (15.4.0.5046)
Syntax
public ILineShape AddLine(
int row,
int column,
int width,
int height,
LineShapeType lineShapeType
)
Public Function AddLine (
row As Integer,
column As Integer,
width As Integer,
height As Integer,
lineShapeType As LineShapeType
) As ILineShape
public:
virtual ILineShape^ AddLine(
int row,
int column,
int width,
int height,
LineShapeType lineShapeType
) sealed
abstract AddLine :
row : int *
column : int *
width : int *
height : int *
lineShapeType : LineShapeType -> ILineShape
override AddLine :
row : int *
column : int *
width : int *
height : int *
lineShapeType : LineShapeType -> ILineShape
Parameters
-
row
-
Type:
System
Int32
The row position where the line shape will be added.
-
column
-
Type:
System
Int32
The column position 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 newly created line shape as an ILineShape object.
Implements
ILines
AddLine(Int32, Int32, Int32, Int32, LineShapeType)
See Also