Back to Devexpress

PivotGridControl.ExportToImage(String) Method

windowsforms-devexpress-dot-xtrapivotgrid-dot-pivotgridcontrol-dot-exporttoimage-x28-system-dot-string-x29.md

latest1.9 KB
Original Source

PivotGridControl.ExportToImage(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 the control’s data to the specified file in BMP format.

Namespace : DevExpress.XtraPivotGrid

Assembly : DevExpress.XtraPivotGrid.v25.2.dll

NuGet Package : DevExpress.Win.PivotGrid

Declaration

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

Parameters

NameTypeDescription
filePathString

A String which specifies the name (including the full path) of the file to which the control is exported.

|

Remarks

This method indirectly calls the PrintingSystemBase.ExportToImage method of the XtraPrinting Library. If this library is not available, the method does nothing. For details on the ExportToImage method, see the PrintingSystemBase.ExportToImage topic.

See Also

PivotGridControl Class

PivotGridControl Members

DevExpress.XtraPivotGrid Namespace