Spread WPF 17
GrapeCity.Windows.SpreadSheet.Data Namespace / Worksheet Class / SetStyleInfo Method / SetStyleInfo(Int32,Int32,SheetArea,StyleInfo) Method
The row index.
The column index.
The sheet area.
The style.


In This Topic
    SetStyleInfo(Int32,Int32,SheetArea,StyleInfo) Method
    In This Topic
    Sets the style for the specified cell, row, or column of the specified area.
    Syntax
    'Declaration
     
    Public Overloads Sub SetStyleInfo( _
       ByVal row As Integer, _
       ByVal column As Integer, _
       ByVal sheetArea As SheetArea, _
       ByVal style As StyleInfo _
    ) 
    'Usage
     
    Dim instance As Worksheet
    Dim row As Integer
    Dim column As Integer
    Dim sheetArea As SheetArea
    Dim style As StyleInfo
     
    instance.SetStyleInfo(row, column, sheetArea, style)
    public void SetStyleInfo( 
       int row,
       int column,
       SheetArea sheetArea,
       StyleInfo style
    )

    Parameters

    row
    The row index.
    column
    The column index.
    sheetArea
    The sheet area.
    style
    The style.
    Exceptions
    ExceptionDescription
    The sheet area cannot be found.
    The row index must be between 0 and the block row count.
    The column index must be between 0 and the block column count .
    See Also