Back to Devexpress

TCustomdxComponentPrinter.SaveToStream(TStream) Method

vcl-dxpscore-dot-tcustomdxcomponentprinter-dot-savetostream-x28-system-dot-classes-dot-tstream-x29.md

latest1.1 KB
Original Source

TCustomdxComponentPrinter.SaveToStream(TStream) Method

Saves all component printer settings to a stream.

Declaration

delphi
procedure SaveToStream(AStream: TStream);

Parameters

NameType
AStreamTStream

Remarks

You can use the SaveToStream and LoadFromStream procedures to copy settings from one component printer to another. Call the SaveToStream procedure to save the component printer’s settings to a stream object passed as the AStream parameter.

To restore the printer component settings from the specified stream, call the LoadFromStream procedure.

See Also

TCustomdxComponentPrinter.SaveToFile

TCustomdxComponentPrinter Class

TCustomdxComponentPrinter Members

dxPSCore Unit