Skip to main content
Table of Contents

TTMSFNCStylesManager.GetStyleFromResource Method

Returns the JSON style string stored in the named application resource.

API unit family: TMSFNCStyles Declaring type: TTMSFNCStylesManager

Syntax

FMX.TMSFNCStyles.hppPascalC++
function GetStyleFromResource(AResourceName: string): string; virtual;
virtual System::UnicodeString __fastcall GetStyleFromResource(System::UnicodeString AResourceName);

Parameters

Name Description
AResourceName The resource identifier of the JSON style.

Returns

The JSON style text loaded from the resource.