RangeSetOutlineBorders Method (CellBorderType, Color)
Sets out line borders around a range of cells.

Namespace: Aspose.Cells
Assembly: Aspose.Cells (in Aspose.Cells.dll) Version: 19.11.0.0 (19.11)
Syntax
public void SetOutlineBorders(
	CellBorderType[] borderStyles,
	Color[] borderColors
)

Parameters

borderStyles
Type: Aspose.CellsCellBorderType
Border styles.
borderColors
Type: System.DrawingColor
Border colors.
Remarks
Both the length of borderStyles and borderStyles must be 4. The order of of borderStyles and borderStyles must be top,bottom,left,right
See Also