TIOPrintPreviewParams.LoadFromFile
Declaration
procedure LoadFromFile(const FileName: WideString);
Description
Load all settings of the Print Preview dialog from file.
Note: LoadFromFile only works with files saved using
SaveToFile
// Show Print dialog (remembering the user's settings)
if FileExists( PrinterSettingsFilename ) then
ImageEnView1.IO.PrintPreviewParams.LoadFromFile( PrinterSettingsFilename );
ImageEnView1.IO.DoPrintPreviewDialog( iedtDialog );
ImageEnView1.IO.PrintPreviewParams.SaveToFile( PrinterSettingsFilename );
See Also
◼LoadFromStream
◼LoadFromRegistry
◼LoadFromIniFile