'Declaration
Public Shared Function GetCommonStyle( _ ByVal worksheet As Worksheet, _ ByVal row As Integer, _ ByVal column As Integer, _ ByVal row2 As Integer, _ ByVal column2 As Integer, _ ByRef isNormalFont As Nullable(Of Boolean), _ Optional ByVal borderOnly 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)
public static StyleFormat GetCommonStyle( Worksheet worksheet, int row, int column, int row2, int column2, out Nullable<bool> isNormalFont, bool 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.