UnionRangeSetOutlineBorders Method (CellBorderType, Color) |
Sets out line borders around a range of cells.
Namespace:
Aspose.Cells
Assembly:
Aspose.Cells (in Aspose.Cells.dll) Version: 22.5.0.0 (22.5.0)
Syntaxpublic void SetOutlineBorders(
CellBorderType[] borderStyles,
Color[] borderColors
)
Public Sub SetOutlineBorders (
borderStyles As CellBorderType(),
borderColors As Color()
)
public:
void SetOutlineBorders(
array<CellBorderType>^ borderStyles,
array<Color>^ borderColors
)
member SetOutlineBorders :
borderStyles : CellBorderType[] *
borderColors : Color[] -> unit
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 borderStyles and borderStyles must be top,bottom,left,right
See Also