Skip to main content

DataGridExportExtensions.ExportToPdfAsync(DataGridView, String) Method

Exports DataGridView data to PDF format with the specified path.

Namespace: DevExpress.Maui.DataGrid

Assembly: DevExpress.Maui.DataGrid.Export.dll

NuGet Package: DevExpress.Maui.DataGrid.Export

Declaration

public static Task ExportToPdfAsync(
    this DataGridView grid,
    string filePath
)

Parameters

Name Type Description
grid DataGridView

The exported DataGridView.

filePath String

The exported PDF file’s full path and the name.

Returns

Type Description
Task

A task that allows you to wait for the export is ended.

See Also