Spread Windows Forms 17
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet Namespace / IRange Interface / BorderAround Method / BorderAround(BorderLineStyle,Color) Method
The line style for the border.
The border color.


In This Topic
    BorderAround(BorderLineStyle,Color) Method
    In This Topic
    Adds a border to a range and sets the IBorder.Color and IBorder.LineStyle properties of the IBorder object for the new border.
    Syntax
    'Declaration
     
    
    Overloads Sub BorderAround( _
       ByVal lineStyle As BorderLineStyle, _
       ByVal color As Color _
    ) 
    'Usage
     
    
    Dim instance As IRange
    Dim lineStyle As BorderLineStyle
    Dim color As Color
     
    instance.BorderAround(lineStyle, color)
    void BorderAround( 
       BorderLineStyle lineStyle,
       Color color
    )

    Parameters

    lineStyle
    The line style for the border.
    color
    The border color.
    See Also