TIOPrintPreviewParams.SaveToFile
Declaration
procedure SaveToFile(const FileName: WideString);
Description
Save all settings of the Print Preview dialog to file.
Note: SaveToFile outputs in a custom ImageEn format. It can only be read using
LoadFromFile// 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
◼SaveToStream◼SaveToRegistry◼SaveToIniFile