Skip to main content
Table of Contents

ITMSMCPPersistence.SaveSettingsToFile Method

Serializes the component's settings to the specified JSON file.

API unit family: TMS.MCP.Persistence Declaring type: ITMSMCPPersistence

Syntax

TMS.MCP.Persistence.hppPascalC++
procedure SaveSettingsToFile(AFileName: string; AAppearanceOnly: Boolean = False);
virtual void __fastcall SaveSettingsToFile(System::UnicodeString AFileName, bool AAppearanceOnly = false) = 0;

Parameters

Name Description
AFileName Path of the output JSON file.
AAppearanceOnly When True, only appearance-related properties are saved.