Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

ChartControlBase.ExportToDocx(String, PrintSizeMode) Method

In This Article

Exports a chart to the specified file in the DOCX format with the specified size mode.

Namespace: DevExpress.Xpf.Charts

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

NuGet Package: DevExpress.Wpf.Charts

#Declaration

public void ExportToDocx(
    string filePath,
    PrintSizeMode sizeMode
)

#Parameters

Name Type Description
filePath String

The file path including the file name and extension, where the file should be created.

sizeMode PrintSizeMode

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

See Also