Spread Windows Forms 15.0
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet Namespace / Styles Class / GetCommonStyle Method
An integer value indicates the top row index of cell range.
An integer value indicates the left column index of cell range.
An integer value indicates the bottom row index of cell range.
An integer value indicates the right column index of cell range.


In This Topic
    GetCommonStyle Method
    In This Topic
    Get the common cell-only style settings of the specified cell range.
    Syntax
    '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)

    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.
    See Also