Back to Devexpress

TCustomdxComponentPrinter.LoadFromStream(TStream) Method

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

latest1.3 KB
Original Source

TCustomdxComponentPrinter.LoadFromStream(TStream) Method

Reads all component printer settings from a stream and stores the contents within TdxComponentPrinter.

Declaration

delphi
procedure LoadFromStream(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 LoadFromStream procedure to load the previously saved settings from a stream object passed as the AStream parameter and apply them to the component printer.

Note that the settings loaded from the specified stream object can only be saved by calling the SaveToStream procedure.

See Also

TCustomdxComponentPrinter.LoadFromFile

TCustomdxComponentPrinter Class

TCustomdxComponentPrinter Members

dxPSCore Unit