ImageEn, unit imageenio

TIOPrintPreviewParams.SaveToStream

TIOPrintPreviewParams.SaveToStream


Declaration

procedure SaveToStream(Stream: TStream);


Description

Save all settings of the Print Preview dialog to a stream.


Example

// Show Print dialog (remembering the user's settings)
ImageEnView1.IO.PrintPreviewParams.LoadFromStream( PrinterSettingsStream );
ImageEnView1.IO.DoPrintPreviewDialog( iedtDialog );
ImageEnView1.IO.PrintPreviewParams.SaveToStream( PrinterSettingsStream );


See Also

SaveToFile
SaveToRegistry
SaveToIniFile