Skip to main content
Table of Contents

TTMSFNCStylesManager.GetStyleFromFile Method

Returns the JSON style string read from the specified file.

API unit family: TMSFNCStyles Declaring type: TTMSFNCStylesManager

Syntax

FMX.TMSFNCStyles.hppPascalC++
function GetStyleFromFile(AFile: string): string; virtual;
virtual System::UnicodeString __fastcall GetStyleFromFile(System::UnicodeString AFile);

Parameters

Name Description
AFile The path to the JSON style file.

Returns

The JSON style text read from the file.