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

TBasedxReportLink.SaveToIniFile(string) Method

Saves the report link’s format settings and start page to an INI file.

#Declaration

Delphi
procedure SaveToIniFile(const AFileName: string); overload;

#Parameters

Name Type
AFileName string

#Remarks

The first overloaded variant of this method creates an INI file with the name, specified by the AFileName parameter, and saves report link settings to this INI file, within the section, labeled by the report link’s name. If the specified file exists, it’s overwritten. You can specify the full path to the file or a path relative to an application’s starting folder.

The second overloaded variant of this method saves the report link’s settings within a specified section of a certain INI file that is currently open. AIniFile and ASection specify the INI file and section, respectively. This overloaded variant is called internally by the first overloaded variant and the SaveToRegistry method, which pass the default parameter values. By default, only the report link’s format settings and start page are saved. You can override the SaveToIniFile method in TBasedxReportLink descendants, to save any additional data.

To load the report link’s settings from an INI file, call the LoadFromIniFile method.

See Also