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

TCSVDocument.SaveToFile

Save to file on disk.

Declaration

Source position: csvdocument.pp line 99

public procedure TCSVDocument.SaveToFile(

  const AFilename: string

);

Arguments

AFilename

  

File to write the CSV data to.

Description

SaveToFile creates a file stream from aFileName and calls SaveToStream to actually write the CSV data to the file.

Errors

If the file cannot be created or cannot be written to, an exception will be raised.

See also

SaveToStream

  

Save the CSV data to stream.

LoadFromStream

  

Load CSV data from a stream.

LoadFromFile

  

Load a CSV file into the document.


Documentation generated on: Dec 27 2024