Spread WPF 17
GrapeCity.Windows.SpreadSheet.Data Namespace / Worksheet Class / SetBorder Method / SetBorder(CellRange,BorderLine,SetBorderOptions) Method
The cell area.
The border line.
Determines which part of the cell range to set.


In This Topic
    SetBorder(CellRange,BorderLine,SetBorderOptions) Method
    In This Topic
    Sets the border for the specified area.
    Syntax
    'Declaration
     
    Public Overloads Sub SetBorder( _
       ByVal cellRange As CellRange, _
       ByVal borderLine As BorderLine, _
       ByVal option As SetBorderOptions _
    ) 
    'Usage
     
    Dim instance As Worksheet
    Dim cellRange As CellRange
    Dim borderLine As BorderLine
    Dim option As SetBorderOptions
     
    instance.SetBorder(cellRange, borderLine, option)
    public void SetBorder( 
       CellRange cellRange,
       BorderLine borderLine,
       SetBorderOptions option
    )

    Parameters

    cellRange
    The cell area.
    borderLine
    The border line.
    option
    Determines which part of the cell range to set.
    See Also