Skip to main content
All docs
V24.1

TdxChart.ExportToDOCX(TStream,Integer,Integer) Method

Exports chart content as an image container in a DOCX document and saves it to the target stream.

Declaration

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

Parameters

Name Type Description
AStream TStream

The target stream.

AImageWidth Integer

Optional. The width (in pixels) of the chart image inserted into the resulting DOCX document saved to the target stream (AStream).

AImageHeight Integer

Optional. The height (in pixels) of the chart image inserted into the resulting DOCX document saved to the target stream (AStream).

Remarks

Important

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

See Also