Spread WPF Documentation
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
Requirements

Target Platforms: Windows 7, Windows 8 Desktop, Windows Vista SP1 or later, Windows Server 2000, Windows 2000 Professional (SP4), Windows XP (SP2), Windows 2008, Windows 2003 Server (SP1)

See Also

Reference

IExcelReader Interface
IExcelReader Members

 

 


Copyright © GrapeCity, inc. All rights reserved.