XlsFile.SetFormat Method
Sets the font definition for a given format index. Normally it is of not use, (you should use AddFont or AddFormat instead) but could be used to change the default format. (using SetFormat(0, fmt); ). This method will change style XFs and CellXfs, depending if aFormat is a StyleXF or a CellXF.
Syntax
Namespace: FlexCel.XlsAdapter
public override void SetFormat(Int32 formatIndex, TFlxFormat aFormat)
Parameters
<-> | Parameter | Type | Description |
---|---|---|---|
formatIndex | Int32 | Format index. 0-based | |
aFormat | TFlxFormat | Format definition |