Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TdxPrintStyleManager.LoadFromIniFile(TCustomIniFile,string) Method

Loads the style manager’s AutoText entries from a specified section of a certain INI file.

#Declaration

Delphi
procedure LoadFromIniFile(AIniFile: TCustomIniFile; const ASectionName: string);

#Parameters

Name Type
AIniFile TCustomIniFile
ASectionName string

#Remarks

Call this method to load the style manager’s AutoText entries that were previously saved via the SaveToIniFile method. The AIniFile and ASectionName parameters specify the source INI file, which is currently open, and section in this file, respectively. You can specify the full path to the file or a path relative to an application’s starting folder.

To load the style manager’s settings from the registry, call the LoadFromRegistry method.

Note

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

See Also