Back to Devexpress

ChartControlBase.ExportToDocx(Stream, DocxExportOptions, PrintSizeMode) Method

wpf-devexpress-dot-xpf-dot-charts-dot-chartcontrolbase-dot-exporttodocx-x28-system-dot-io-dot-stream-devexpress-dot-xtraprinting-dot-docxexportoptions-devexpress-dot-xpf-dot-charts-dot-printsizemode-x29.md

latest1.9 KB
Original Source

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.v25.2.dll

NuGet Package : DevExpress.Wpf.Charts

Declaration

csharp
public void ExportToDocx(
    Stream stream,
    DocxExportOptions options,
    PrintSizeMode sizeMode
)
vb
Public Sub ExportToDocx(
    stream As Stream,
    options As DocxExportOptions,
    sizeMode As PrintSizeMode
)

Parameters

NameTypeDescription
streamStream

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

ChartControlBase Class

ChartControlBase Members

DevExpress.Xpf.Charts Namespace