DataGridExportExtensions.ExportToImageAsync(DataGridView, Stream, ImageExportOptions) Method
Exports DataGridView data to a stream with the specified export options. You can use the options
parameter to specify the 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,
ImageExportOptions options
)
#Parameters
Name | Type | Description |
---|---|---|
grid | Data |
The exported Data |
stream | Stream | A stream to which the Data |
options | Image |
Export settings. |
#Returns
Type | Description |
---|---|
Task | A task that allows you to wait for the export is ended. |