Skip to main content

ChartControlBase.ExportToDocx(String, DocxExportOptions) Method

SECURITY-RELATED CONSIDERATIONS

Using file paths sourced from untrusted input may expose unauthorized files or allow unintended file access. Always validate and normalize all external paths to prevent path manipulation.

Exports a chart to the specified file in the DOCX format with the specified export settings.

Namespace: DevExpress.Xpf.Charts

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

NuGet Package: DevExpress.Wpf.Charts

Declaration

public void ExportToDocx(
    string filePath,
    DocxExportOptions options
)

Parameters

Name Type Description
filePath String

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

options DocxExportOptions

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

See Also