DataGridExportExtensions.ExportToImageAsync(DataGridView, Stream) Method
Exports DataGridView data to a stream with the specified export options. You can use the ExportToImageAsync(DataGridView, Stream, ImageExportOptions) method overload to specify another image’s format.
Namespace: DevExpress.Maui.DataGrid
Assembly: DevExpress.Maui.DataGrid.Export.dll
NuGet Package: DevExpress.Maui.DataGrid.Export
Declaration
public static Task ExportToImageAsync(
this DataGridView grid,
Stream stream
)
Parameters
Name | Type | Description |
---|---|---|
grid | DataGridView | The exported DataGridView. |
stream | Stream | A stream to which the DataGridView sends the created file. |
Returns
Type | Description |
---|---|
Task | A task that allows you to wait for the export is ended. |
See Also