ImageEn, unit iexRegistryFunctions

TIOPrintPreviewParamsHelper.LoadFromRegistry

TIOPrintPreviewParamsHelper.LoadFromRegistry

Declaration

function LoadFromRegistry(const aKey: string; const KeyPrefix: string = 'IEV'; aHKEY: HKEY = HKEY_CURRENT_USER): Boolean;

Description

Load all settings of the Print Preview dialog from the registry.

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

Example

uses
  iexRegistryFunctions;
...
ImageEnView1.IO.PrintPreviewParams.LoadFromRegistry( 'Software\MyCompany\PrintPreview' );

See Also

LoadFromStream
LoadFromFile
LoadFromIniFile