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

function GetStyleFromResource(AResourceName: string): string; virtual;

Parameters

Name Description
AResourceName The resource identifier of the JSON style.

Returns

The JSON style text loaded from the resource.