'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)
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