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