Spread Windows Forms 17
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet Namespace / Styles Class / GetFlatRenderBorder Method
A Worksheet object indicates the worksheet.
An integer value indicates the row index.
An integer value indicates the column index.
Indicates which border sides are applied from Cf.
Indicates which border sides are applied from table.
true if the border is from all layers' settings; otherwise, the border is from cell's settings only.


In This Topic
    GetFlatRenderBorder Method
    In This Topic
    Gets the rendered border of the specified cell.
    Syntax
    'Declaration
     
    
    Public Overridable Function GetFlatRenderBorder( _
       ByVal worksheet As Worksheet, _
       ByVal row As Integer, _
       ByVal column As Integer, _
       ByRef borderFromCf As BorderSides, _
       ByRef borderFromTable As BorderSides, _
       Optional ByVal allLayers As Boolean _
    ) As Border
    'Usage
     
    
    Dim instance As Styles
    Dim worksheet As Worksheet
    Dim row As Integer
    Dim column As Integer
    Dim borderFromCf As BorderSides
    Dim borderFromTable As BorderSides
    Dim allLayers As Boolean
    Dim value As Border
     
    value = instance.GetFlatRenderBorder(worksheet, row, column, borderFromCf, borderFromTable, allLayers)

    Parameters

    worksheet
    A Worksheet object indicates the worksheet.
    row
    An integer value indicates the row index.
    column
    An integer value indicates the column index.
    borderFromCf
    Indicates which border sides are applied from Cf.
    borderFromTable
    Indicates which border sides are applied from table.
    allLayers
    true if the border is from all layers' settings; otherwise, the border is from cell's settings only.
    See Also