TExcelFile.AddFont Method
Adds a new font to the excel font list. If it already exists, it doesn't add a new one, so you can use this method for searching too.
Syntax
Unit: FlexCel.Core
function TExcelFile.AddFont(const font: TFlxFont): Integer; virtual; abstract;
Parameters
<-> | Parameter | Type | Description |
---|---|---|---|
const | font | TFlxFont | Font to add to the list. |
Returns
The position on the list for the added font.