GetFlatRenderBorder Method
In This Topic
Gets the rendered border of the specified cell.
Syntax
'Declaration
Public Overridable Function GetFlatRenderBorder( _
ByVal As Worksheet, _
ByVal As Integer, _
ByVal column As Integer, _
ByRef As BorderSides, _
ByRef As BorderSides, _
Optional ByVal 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)
public virtual Border GetFlatRenderBorder(
Worksheet ,
int ,
int column,
out BorderSides ,
out BorderSides ,
bool
)
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