DataGridExportExtensions.ExportToPdfAsync(DataGridView, Stream, PdfExportOptions) Method
Exports DataGridView data to a stream in PDF
format with the specified export options.
Namespace: DevExpress.Maui.DataGrid
Assembly: DevExpress.Maui.DataGrid.Export.dll
NuGet Package: DevExpress.Maui.DataGrid.Export
#Declaration
public static Task ExportToPdfAsync(
this DataGridView grid,
Stream stream,
PdfExportOptions options
)
#Parameters
Name | Type | Description |
---|---|---|
grid | Data |
The exported Data |
stream | Stream | A stream to which the Data |
options | Pdf |
|
#Returns
Type | Description |
---|---|
Task | A task that allows you to wait for the export is ended. |