Unit 'csvdocument' Package
[Overview][Types][Classes][Index] [#fcl]

TCSVDocument.LoadFromStream

Load CSV data from a stream.

Declaration

Source position: csvdocument.pp line 97

public procedure TCSVDocument.LoadFromStream(

  AStream: TStream

);

Arguments

AStream

  

Stream to read CSV data from.

Description

LoadFromStream loads the CSV data from the aStream stream. It uses the settings introduced in TCSVHandler when determining fields and rows. If EqualColCountPerRow is True then it will add empty cells after reading the CSV data, so all rows have an equal count of columns..

See also

EqualColCountPerRow

  

Ensure every row has an equal amount of columns.

SaveToStream

  

Save the CSV data to stream.

SaveToFile

  

Save to file on disk.

LoadFromFile

  

Load a CSV file into the document.

TCSVHandler

  

Base class for CSV reading and writing classes.


Documentation generated on: Nov 23 2024