Table of Contents

TTMSFNCMemoCustomTheme.GetThemeObject Method

Serialises the complete theme definition as a Monaco-compatible JavaScript theme object string that can be passed to the editor's theme registration API.

API unit family: TMSFNCMemoCustomTheme Declaring type: TTMSFNCMemoCustomTheme

Syntax

function GetThemeObject: string;

Returns

A JavaScript object literal string containing the theme base, inherit flag, color tokens, and token rules.