Spread WPF Documentation
SetCellStyle Method


GrapeCity.Excel Namespace > IExcelReader Interface : SetCellStyle Method
The zero based sheet index used to locate the IExcelWorkbook instance
The zero based cell row index
The zero based cell column index
The zero based format index used to locate the format settings which stores in a global section.
A CellType instance used to set the cell type.
Set the format properties for a specified cell.
Syntax
'Declaration
 
Function SetCellStyle( _
   ByVal sheet As System.Short, _
   ByVal row As System.Integer, _
   ByVal column As System.Integer, _
   ByVal formatIndex As System.Integer, _
   ByVal type As CellType _
) As System.Boolean
'Usage
 
Dim instance As IExcelReader
Dim sheet As System.Short
Dim row As System.Integer
Dim column As System.Integer
Dim formatIndex As System.Integer
Dim type As CellType
Dim value As System.Boolean
 
value = instance.SetCellStyle(sheet, row, column, formatIndex, type)
System.bool SetCellStyle( 
   System.short sheet,
   System.int row,
   System.int column,
   System.int formatIndex,
   CellType type
)

Parameters

sheet
The zero based sheet index used to locate the IExcelWorkbook instance
row
The zero based cell row index
column
The zero based cell column index
formatIndex
The zero based format index used to locate the format settings which stores in a global section.
type
A CellType instance used to set the cell type.

Return Value

true if the cell is in a valid cell in the specified worksheet, otherwise, false
See Also

Reference

IExcelReader Interface
IExcelReader Members