Spread Windows Forms 17
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet Namespace / Worksheet Class / SetStyleFormat Method / SetStyleFormat(Int32,Int32,Int32,Int32,StyleFormat) 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.
A StyleFormat value indicates the style format to set.


In This Topic
    SetStyleFormat(Int32,Int32,Int32,Int32,StyleFormat) Method
    In This Topic
    Sets the style format for the specified cell range on this worksheet.
    Syntax
    'Declaration
     
    
    Public Overloads Sub SetStyleFormat( _
       ByVal row As Integer, _
       ByVal column As Integer, _
       ByVal row2 As Integer, _
       ByVal column2 As Integer, _
       ByVal styleFormat As StyleFormat _
    ) 
    'Usage
     
    
    Dim instance As Worksheet
    Dim row As Integer
    Dim column As Integer
    Dim row2 As Integer
    Dim column2 As Integer
    Dim styleFormat As StyleFormat
     
    instance.SetStyleFormat(row, column, row2, column2, styleFormat)
    public void SetStyleFormat( 
       int row,
       int column,
       int row2,
       int column2,
       StyleFormat styleFormat
    )

    Parameters

    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.
    styleFormat
    A StyleFormat value indicates the style format to set.
    See Also