Applies to
Declaration
procedure LoadFromStream(Stream: TStream);
procedure SaveToStream(Stream: TStream);
Description
The LoadFromStream method reads the content of Stream and copies it in the TPlusMemo or TDBPlusMemo, up to a terminating null character (#0) or to the end of a stream, whichever happens first. If property NullReplacement is different from #0, reading is always up to the end of the stream and null characters are replaced with the one indicated in NullReplacement. If property Options includes member pmoAutoLineBreak, property LineBreak is set according to the kind of paragraph marks encountered.
SaveToStream writes the text content of the TPlusMemo or TDBPlusMemo into Stream. Property LineBreak is used to determine which sequence of paragraph separator is used.
These methods trigger OnProgress events at regular intervals.