JVCL Help:TJvStringGrid.SaveToCSV

From Project JEDI Wiki
Jump to navigationJump to search
JEDI Visual Component Library Help

Search in JVCL Help

 
Search in all projects
 

Summary

Saves the string grid to the file specified in FileName.


Pascal

 procedureSaveToCSV(constFileName: string; Separator: Char = ';'; QuoteChar: Char = '"');


Parameters

Parameters Description
const FileName: string Name of the CSV file where to write the string grid to.
Separator: Char = ';' Character to be used in the CSV file to separate cell strings.
QuoteChar: Char = '"' Specifies the quote char.


Description

Use the SaveToFile method to store string grid cells to a text file. The cells can later be reloaded from the file into a new string grid object using the LoadFromCSV method. SaveToCSV writes the cell strings to the file, separated with the character specified by Separator, and one row per line.
Note: String grid files contain only the text of the string grid cells. They do not contain any data associated with a cell.


See Also

TJvStringGrid.LoadFromCSV, TJvStringGrid.OnSaveProgress, TJvStringGrid.SaveToFile, TJvStringGrid.SaveToStream


About

Contribute to this help topic

This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page