TdxPSPDFReportExportOptions.LoadFromIniFile(string) Method
Loads PDF export settings from a specified INI file.
Declaration
procedure LoadFromIniFile(const AFileName: string); overload;
Parameters
Name | Type |
---|---|
AFileName | string |
Remarks
Call the first overloaded procedure version and pass the absolute or relative path to a target file as the AFileName parameter to update all PDF export settings from a file you previously created by a SaveToIniFile procedure call. This procedure variant is useful if you have a dedicated INI file to store only PDF export settings.
The second overloaded variant accepts an open INI file as the AIniFile parameter. Additionally, you need to pass the name of a target section in the specified file. This procedure variant is useful if you have a single INI file for multiple different application settings.
A TdxPSEngineController component automatically calls the first overloaded LoadFromIniFile procedure variant when the “PDF Export Options” dialog is invoked if:
The component’s OptionsStoring.StorageType property is set to dxstIniFile.
The component’s OptionsStoring.IniFileName property specifies a target INI file.