FMX.Graphics.TCanvas.LoadFontFromStream
Delphi
function LoadFontFromStream(const AStream: TStream): Boolean; virtual;
C++
virtual bool __fastcall LoadFontFromStream(System::Classes::TStream* const AStream);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | FMX.Graphics.pas FMX.Graphics.hpp |
FMX.Graphics | TCanvas |
Description
Loads a font family from a stream.
LoadFontFromStream is implemented by the TCanvas descendants to load a font from a stream. It is implemented only for GDI+ canvas.
The AStream
parameter specifies the stream to load from. The supported format is .ttf (TrueType font).