TCSVDocument.SaveToStream procedure
Save the CSV data to stream.
Declaration
procedure SaveToStream(AStream: TStream)Arguments
AStream | Stream to write CSV data to. |
Description
SaveToStream saves the CSV data to the
aStream stream.
It uses the settings introduced in
TCSVHandler to apply the correct formatting to fields and rows.
If
EqualColCountPerRow
is
True then it will add empty cells prior to writing, so all rows in the file have an equal count of columns.Errors
If the stream cannot be written to, an exception will be raised.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
