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
)
Public Sub setLineStyleAndColor (
borderLine As LineStyleType,
borderColor As ExcelColors
)
public:
void setLineStyleAndColor(
LineStyleType borderLine,
ExcelColors borderColor
)
member setLineStyleAndColor :
borderLine : LineStyleType *
borderColor : ExcelColors -> unit
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