Description
Sets style of the ExcelCell border lines.

Namespace: Docs.Excel
Assembly: Excel (in Excel.dll) Version: 3.1.0.0 (3.1)

Syntax

         
 C#  Visual Basic  Visual C++ 
public void SetBordersStyles(
	TypeOfBorderLine TopLineStyle,
	Color TopLineColor,
	TypeOfBorderLine BottomLineStyle,
	Color BottomLineColor,
	TypeOfBorderLine LeftLineStyle,
	Color LeftLineColor,
	TypeOfBorderLine RightLineStyle,
	Color RightLineColor
)
Public Sub SetBordersStyles ( _
	TopLineStyle As TypeOfBorderLine, _
	TopLineColor As Color, _
	BottomLineStyle As TypeOfBorderLine, _
	BottomLineColor As Color, _
	LeftLineStyle As TypeOfBorderLine, _
	LeftLineColor As Color, _
	RightLineStyle As TypeOfBorderLine, _
	RightLineColor As Color _
)
public:
void SetBordersStyles(
	TypeOfBorderLine TopLineStyle, 
	Color TopLineColor, 
	TypeOfBorderLine BottomLineStyle, 
	Color BottomLineColor, 
	TypeOfBorderLine LeftLineStyle, 
	Color LeftLineColor, 
	TypeOfBorderLine RightLineStyle, 
	Color RightLineColor
)

Parameters

TopLineStyle
TypeOfBorderLine
The style of the top border line.
TopLineColor
Color
The color of the top border line.
BottomLineStyle
TypeOfBorderLine
The style of the bottom border line.
BottomLineColor
Color
The color of the bottom border line.
LeftLineStyle
TypeOfBorderLine
The style of the left border line.
LeftLineColor
Color
The color of the left border line.
RightLineStyle
TypeOfBorderLine
The style of the right border line.
RightLineColor
Color
The color of the right border line.

See Also