FlexCel Studio for VCL/LCL
ContentsIndex
PreviousUpNext
TFlexCelImport.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.

Pascal
function AddFont(const Fmt: TFlxFont): integer;
C++
__fastcall int AddFont(const TFlxFont Fmt);
Parameters 
Description 
const Fmt: TFlxFont 
Font to add to the list. 

The position on the list for the added font.

You do not normally need to use AddFont, fonts are automatically added when using AddFormat 

This method might be used when manually managing fonts.

Copyright (c) 2002-2008 TMS Software. All rights reserved.
What do you think about this topic? Send feedback!