TdxChart.ExportToXLSX(string,Integer,Integer) Method
Exports chart content as an image container in an XLSX document and saves it to a file.
Declaration
procedure ExportToXLSX(const AFileName: string; AImageWidth: Integer = 0; AImageHeight: Integer = 0); overload;
Parameters
Name | Type | Description |
---|---|---|
AFileName | string | The absolute or relative path to the resulting XLSX file. |
AImageWidth | Integer | Optional. The width (in pixels) of the chart image inserted into the resulting XLSX document. |
AImageHeight | Integer | Optional. The height (in pixels) of the chart image inserted into the resulting XLSX document. |
Remarks
Important
Do not call the ExportToXLSX
procedure in your code. To export Chart control content to a stream in XLSX format, call the control’s corresponding ExportToXLSX procedure instead.
See Also