Back to Devexpress

ChartControlBase.ExportToDocx(String) Method

wpf-devexpress-dot-xpf-dot-charts-dot-chartcontrolbase-dot-exporttodocx-x28-system-dot-string-x29.md

latest1.4 KB
Original Source

ChartControlBase.ExportToDocx(String) 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 settings.

Namespace : DevExpress.Xpf.Charts

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

NuGet Package : DevExpress.Wpf.Charts

Declaration

csharp
public void ExportToDocx(
    string filePath
)
vb
Public Sub ExportToDocx(
    filePath As String
)

Parameters

NameTypeDescription
filePathString

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

|

See Also

ChartControlBase Class

ChartControlBase Members

DevExpress.Xpf.Charts Namespace