Back to Devexpress

HierarchicalChartControlBase.ExportToImage(String, DXImageFormat) Method

windowsforms-devexpress-dot-xtratreemap-dot-hierarchicalchartcontrolbase-dot-exporttoimage-x28-system-dot-string-devexpress-dot-drawing-dot-dximageformat-x29.md

latest1.6 KB
Original Source

HierarchicalChartControlBase.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 TreeMap control to an image.

Namespace : DevExpress.XtraTreeMap

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

NuGet Package : DevExpress.Win.TreeMap

Declaration

csharp
public void ExportToImage(
    string filePath,
    DXImageFormat format
)
vb
Public Sub ExportToImage(
    filePath As String,
    format As DXImageFormat
)

Parameters

NameTypeDescription
filePathString

The file path.

| | format | DXImageFormat |

Image format.

|

See Also

HierarchicalChartControlBase Class

HierarchicalChartControlBase Members

DevExpress.XtraTreeMap Namespace