Get the common cell-only style settings of the specified cell range.
'Declaration
Public Shared Function GetCommonStyle( _
ByVal As Worksheet, _
ByVal As Integer, _
ByVal column As Integer, _
ByVal As Integer, _
ByVal column2 As Integer, _
ByRef As Nullable(Of Boolean), _
Optional ByVal As Boolean _
) As StyleFormat
'Usage
Dim worksheet As Worksheet
Dim row As Integer
Dim column As Integer
Dim row2 As Integer
Dim column2 As Integer
Dim isNormalFont As Nullable(Of Boolean)
Dim borderOnly As Boolean
Dim value As StyleFormat
value = Styles.GetCommonStyle(worksheet, row, column, row2, column2, isNormalFont, borderOnly)
Parameters
- worksheet
- row
- An integer value indicates the top row index of cell range.
- column
- An integer value indicates the left column index of cell range.
- row2
- An integer value indicates the bottom row index of cell range.
- column2
- An integer value indicates the right column index of cell range.
- isNormalFont
- borderOnly
Return Value
The common cell-only style settings of the specified range.