Skip to main content

ChartControlBase.ExportToDocx(Stream, DocxExportOptions, PrintSizeMode) Method

Exports a chart to the specified stream in the DOCX format with the specified export options and size mode.

Namespace: DevExpress.Xpf.Charts

Assembly: DevExpress.Xpf.Charts.v24.1.dll

NuGet Package: DevExpress.Wpf.Charts

Declaration

public void ExportToDocx(
    Stream stream,
    DocxExportOptions options,
    PrintSizeMode sizeMode
)

Parameters

Name Type Description
stream Stream

A Stream descendant class object to which the content should be sent.

options DocxExportOptions

The export settings that are used to export the chart to the file.

sizeMode PrintSizeMode

The value indicating the size mode that specifies how the chart should be resized when being printed.

See Also