Click or drag to resize

XlsBorder setLineStyleAndColor Method

Sets the line style and color for a specified border type in an Excel cell format.

Namespace: Spire.Xls.Core.Spreadsheet
Assembly: Spire.XLS (in Spire.XLS.dll) Version: 15.4.0.0 (15.4.0.5046)
Syntax
public void setLineStyleAndColor(
	LineStyleType borderLine,
	ExcelColors borderColor
)

Parameters

borderLine
Type: Spire.Xls LineStyleType
The line style type to apply to the border.
borderColor
Type: Spire.Xls ExcelColors
The color to apply to the border.
See Also