[]
        
(Showing Draft Content)

GrapeCity.Spreadsheet.IRange.BorderAround

BorderAround Method

BorderAround(BorderLineStyle)

Adds a border to a range and sets the Color and LineStyle properties of the IBorder object for the new border.

Declaration
void BorderAround(BorderLineStyle borderLine)
Sub BorderAround(borderLine As BorderLineStyle)
Parameters
Type Name Description
BorderLineStyle borderLine

BorderAround(BorderLineStyle, Color)

Adds a border to a range and sets the Color and LineStyle properties of the IBorder object for the new border.

Declaration
void BorderAround(BorderLineStyle lineStyle, Color color)
Sub BorderAround(lineStyle As BorderLineStyle, color As Color)
Parameters
Type Name Description
BorderLineStyle lineStyle

The line style for the border.

Color color

The border color.