Table of Contents

TXlsFile.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.XlsAdapter

function TXlsFile.AddFont(const font: TFlxFont): Integer; override;

Parameters

<-> Parameter Type Description
const font TFlxFont Font to add to the list.

Returns

The position on the list for the added font.

See also