TIOPrintPreviewParams.LoadFromStream
Declaration
procedure LoadFromStream(Stream: TStream);
Description
Loads all settings of the Print Preview dialog from a stream.
Note: LoadFromStream does not reset the position of the stream, so you may need to first call Stream.Position := 0;
// Show Print dialog (remembering the user's settings)
ImageEnView1.IO.PrintPreviewParams.LoadFromStream( PrinterSettingsStream );
ImageEnView1.IO.DoPrintPreviewDialog( iedtDialog );
ImageEnView1.IO.PrintPreviewParams.SaveToStream( PrinterSettingsStream );
See Also
◼LoadFromFile◼LoadFromRegistry◼LoadFromIniFile