Skip to main content

TdxCustomLayoutControl.SaveToIniFile(string,Boolean) Method

Saves ExpressLayout Control group/item settings to an INI file.

Declaration

procedure SaveToIniFile(const AFileName: string; ARecreate: Boolean = True);

Parameters

Name Type
AFileName string
ARecreate Boolean

Remarks

Use the SaveToIniFile method to save ExpressLayout Control group and item settings. This method allows you to save information to an INI file.

AFileName specifies the name of the INI file wherein to store settings; the ‘ini’ extension is not automatically added to the file name. To store settings in an INI file, the control’s OptionsStoring.StoreToIniFile property must be set to True.

ARecreate specifies whether the INI file is deleted and created again with each call to this method. If ARecreate is False, information is appended to the existing file.

To persist settings in an .INI file, the system registry and a stream simultaneously, use the Store method.

See Also