Note: New features related to this feature is been worked on release v2.8.x. Document is not upto date
Adding, Modifying a sheet from spreadsheet is handled by this class object
Method | Parameter/Return | Function |
---|---|---|
To add, remove and get sheet from excel
ColumnProperties
OptionsDataCell
Options.RowProperties
OptionsProperty | Type | Details |
---|---|---|
Property | Type | Details |
---|---|---|
Property | Type | Details |
---|---|---|
GetSheetId
/string
Return current sheet id
GetSheetName
/string
Return current sheet name
SetColumn
cilumn,ColumnProperty
Set column property
SetRow
cellid,cellData,RowProperty
Set row property and data
AddPicture
filePath,PictureSetting/Picture
Add Picture to current slide
AddChart
DataRange,chartSetting/Chart
Add Chart to current slide
GetMergeCellList
/List<MergeCellRange>
Get existing merge range from current sheet
SetMergeCell
MergeCellRange/bool
Set new merge range if not affecting existing
RemoveMergeCell
MergeCellRange/bool
Remove any existing range within the caller range
bestFit
bool
Auto bit column width based on content.
hidden
bool
Hide the column
width
double?
Set manual column width.
cellValue
string?
Can be any value or null. Will be parsed based on dataType
dataType
CellDataType
Refer to the data type present in cellValue
property
styleSetting
AVOID USING THIS. Used to set specific cell style. For optimised performance refer Style Component
styleId
uint?
Insert the style Id returened from Style Componenet
hyperlinkProperties
Set hyperlink property for the current cell
height
double?
Set row height property
hidden
bool
Hide the row