GrapeCity.Xaml.Excel
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 Short, _
   ByVal row As Integer, _
   ByVal column As Integer, _
   ByVal formatIndex As Integer, _
   ByVal type As CellType _
) As Boolean
'Usage
 
Dim instance As IExcelReader
Dim sheet As Short
Dim row As Integer
Dim column As Integer
Dim formatIndex As Integer
Dim type As CellType
Dim value As Boolean
 
value = instance.SetCellStyle(sheet, row, column, formatIndex, type)
bool SetCellStyle( 
   short sheet,
   int row,
   int column,
   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 Server 2012, Windows RT

See Also

Reference

IExcelReader Interface
IExcelReader Members

 

 


Copyright © GrapeCity, inc. All rights reserved.

Support Options