Skip to main content
Table of Contents

TTMSFNCDataGridRenderer.SaveToHTMLData Method

Exports the grid content to an HTML file at AFileName, using the default text encoding.

API unit family: TMSFNCDataGridRenderer Declaring type: TTMSFNCDataGridRenderer

Overloads

Overload 1

Exports the grid content to an HTML file at AFileName, using the default text encoding.

FMX.TMSFNCDataGridRenderer.hppPascalC++
procedure SaveToHTMLData(AFileName: string); overload; virtual;
virtual void __fastcall SaveToHTMLData(System::UnicodeString AFileName)/* overload */;

Parameters

Name Description
AFileName Destination HTML file path.

Overload 2

Exports the grid content to an HTML file with the specified text encoding.

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

Parameters

Name Description
AFileName Destination HTML file path.
AEncoding Text encoding used when writing the HTML file.