FMX.Styles.TStyleStreaming.LoadFromStream
Delphi
class function LoadFromStream(const AStream: TStream): TFmxObject;
C++
__classmethod Fmx::Types::TFmxObject* __fastcall LoadFromStream(System::Classes::TStream* const AStream);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | FMX.Styles.pas FMX.Styles.hpp |
FMX.Styles | TStyleStreaming |
Description
Loads a style from the specified stream.
LoadFromStream returns a style object that can be set as the active style using the SetStyle method.
Note that LoadFromStream does not automatically switch to the loaded style. To do that, call the SetStyleFromFile method.