ImageEn, unit iexRegistryFunctions

TIOPrintPreviewParamsHelper.LoadFromIniFile

TIOPrintPreviewParamsHelper.LoadFromIniFile

Declaration

function LoadFromIniFile(const FileName: string; const KeyPrefix: string = 'IEV'; aSection: string = ''): Boolean;

Description

Load all settings of the Print Preview dialog from an INI file.

Note:
LoadFromIniFile should be used in tandem with SaveToIniFile
LoadFromIniFile is a helper method. You will need to add iexRegistryFunctions to your uses clause to access the method

Example

uses
  iexRegistryFunctions;
...
ImageEnView1.IO.PrintPreviewParams.LoadFromIniFile( 'C:\MyApp\Settings.ini' );

See Also

LoadFromStream
LoadFromFile
LoadFromRegistry