TTMSFNCStylesManager.LoadStyleFromStream Method
Loads a JSON style definition from the specified stream and applies it to all registered components.
API unit family: TMSFNCStyles
Declaring type: TTMSFNCStylesManager
Overloads
Overload 1
Loads a JSON style definition from the specified stream and applies it to all registered components.
procedure LoadStyleFromStream(AStream: TStream); overload; virtual;
Parameters
| Name | Description |
|---|---|
AStream |
The stream containing the JSON style data. |
Overload 2
Loads a JSON style definition from the specified stream and applies it to the given component list.
procedure LoadStyleFromStream(AStream: TStream; AComponents: TTMSFNCStylesManagerComponentArray); overload; virtual;
Parameters
| Name | Description |
|---|---|
AStream |
The stream containing the JSON style data. |
AComponents |
The array of components to style. |