Skip to main content
Table of Contents

TTMSFNCCustomDataGrid.SaveToCSVData Method

Saves cell data to a CSV file using the default encoding.

API unit family: TMSFNCDataGrid Declaring type: TTMSFNCCustomDataGrid

Overloads

Overload 1

Saves cell data to a CSV file using the default encoding.

FMX.TMSFNCDataGrid.hppPascalC++
procedure SaveToCSVData(AFileName: string); overload;
void __fastcall SaveToCSVData(System::UnicodeString AFileName)/* overload */;

Parameters

Name Description
AFileName Full path of the output CSV file.

Overload 2

Saves cell data to a CSV file using the specified encoding.

FMX.TMSFNCDataGrid.hppPascalC++
procedure SaveToCSVData(AFileName: string; AEncoding: TEncoding); overload;
void __fastcall SaveToCSVData(System::UnicodeString AFileName, System::Sysutils::TEncoding* AEncoding)/* overload */;

Parameters

Name Description
AFileName Full path of the output CSV file.
AEncoding Text encoding for the output file.