Skip to main content
All docs
V24.1

TdxChart.ExportToJPEG(TStream,Integer,Integer) Method

Exports chart content to a stream in JPEG format.

Declaration

procedure ExportToJPEG(const AStream: TStream; AImageWidth: Integer = 0; AImageHeight: Integer = 0); overload;

Parameters

Name Type Description
AStream TStream

The target stream.

AImageWidth Integer

Optional. The exported image width, in pixels.

AImageHeight Integer

Optional. The exported image height, in pixels.

Remarks

Important

Do not call the ExportToJPEG procedure in your code. To export Chart control content to a stream in JPEG format, call the control’s corresponding ExportToJPEG procedure instead.

See Also