FMX.FontManager.TFontManager.AddCustomFontFromFile
Delphi
class function AddCustomFontFromFile(const AFileName: TFileName): Boolean;
C++
__classmethod bool __fastcall AddCustomFontFromFile(const System::Sysutils::TFileName AFileName);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | FMX.FontManager.pas FMX.FontManager.hpp |
FMX.FontManager | TFontManager |
Description
Adds a custom font file name to the font collection.
The file to be added must exist during the lifetime of the application.