Skip to main content

TdxPrintStyleManager.SaveToIniFile(TCustomIniFile,string) Method

Saves the style manager’s AutoText entries into a specified section of a certain INI file.

Declaration

procedure SaveToIniFile(AIniFile: TCustomIniFile; const ASectionName: string);

Parameters

Name Type
AIniFile TCustomIniFile
ASectionName string

Remarks

Call this method to store the style manager’s AutoText entries to an INI file and section in it that are specified by the AIniFile and ASectionName parameters, respectively. You can specify the full path to the file or paths relative to an application’s starting folder. Entries stored via the SaveToIniFile method can be restored via the LoadFromIniFile method call.

To persist these entries to the registry, call the SaveToRegistry and LoadFromRegistry methods.

Note

You can store all the style manager’s settings, including AutoText entries, via the SaveToFile or SaveToStream method call, or allow the style manager to automatically store these settings by enabling its AutoSave option.

See Also