Skip to main content
All docs
V25.2
  • SankeyDiagramControl.ExportToImage(String, DXImageFormat) 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 the diagram to an image.

    Namespace: DevExpress.XtraCharts.Sankey

    Assembly: DevExpress.XtraCharts.v25.2.UI.dll

    NuGet Package: DevExpress.Win.Charts

    Declaration

    public void ExportToImage(
        string filePath,
        DXImageFormat format
    )

    Parameters

    Name Type Description
    filePath String

    The file path.

    format DXImageFormat

    Image format.

    See Also