TXlsFile.SetStyle Method
Modifies an existing style if name already exists, or creates a new style if it doesn't.
Syntax
Unit: FlexCel.XlsAdapter
procedure TXlsFile.SetStyle(const name: string; const fmt: TFlxFormat); override;
Parameters
<-> | Parameter | Type | Description |
---|---|---|---|
const | name | string | Name for the style. It might be a user defined name, or a built-in name. You can get a list of built-in names with TExcelFile.GetBuiltInStyleName |
const | fmt | TFlxFormat | The new style definition. |