Range.SetOutlineBorders

SetOutlineBorders(CellBorderType, CellsColor)

Sets the outline borders around a range of cells with same border style and color.

public void SetOutlineBorders(CellBorderType borderStyle, CellsColor borderColor)
ParameterTypeDescription
borderStyleCellBorderTypeBorder style.
borderColorCellsColorBorder color.

See Also


SetOutlineBorders(CellBorderType, Color)

Sets the outline borders around a range of cells with same border style and color.

public void SetOutlineBorders(CellBorderType borderStyle, Color borderColor)
ParameterTypeDescription
borderStyleCellBorderTypeBorder style.
borderColorColorBorder color.

See Also


SetOutlineBorders(CellBorderType[], Color[])

Sets out line borders around a range of cells.

public void SetOutlineBorders(CellBorderType[] borderStyles, Color[] borderColors)
ParameterTypeDescription
borderStylesCellBorderType[]Border styles.
borderColorsColor[]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