ImageEn, unit iexRegistryFunctions

TIOPrintPreviewParamsHelper.SaveToRegistry

TIOPrintPreviewParamsHelper.SaveToRegistry

Declaration

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

Description

Save all settings of the Print Preview dialog to the registry.

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

Example

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

See Also

SaveToStream
SaveToFile
SaveToIniFile