TdxChart.ExportToImage(string,TdxSmartImageCodecClass,Integer,Integer) Method
In This Article
Exports chart content to a file in any supported image format.
#Declaration
Delphi
procedure ExportToImage(const AFileName: string; ACodecClass: TdxSmartImageCodecClass = nil; AImageWidth: Integer = 0; AImageHeight: Integer = 0); overload;
#Parameters
Name | Type | Description |
---|---|---|
AFile |
string | The absolute or relative path to the resulting image file. |
ACodec |
Tdx |
Optional. The reference to the image codec class that corresponds to the required image format. |
AImage |
Integer | Optional. The exported image width, in pixels. |
AImage |
Integer | Optional. The exported image height, in pixels. |
#Remarks
Important
Do not call the Export
procedure in your code. To export Chart control content to a file in any supported format, call the control’s corresponding Export
See Also