Back to Devexpress

DataGridExportExtensions.ExportToImageAsync Method

maui-devexpress-dot-maui-dot-datagrid-dot-datagridexportextensions-dot-exporttoimageasync.md

latest2.2 KB
Original Source

DataGridExportExtensions.ExportToImageAsync Method

NameParametersDescription
ExportToImageAsync(DataGridView, Stream, ImageExportOptions) staticgrid, stream, optionsExports DataGridView data to a stream with the specified export options. You can use the options parameter to specify the image’s format.
ExportToImageAsync(DataGridView, Stream) staticgrid, streamExports 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.
ExportToImageAsync(DataGridView, String, ImageExportOptions) staticgrid, filePath, optionsExports DataGridView data to a PNG image with the specified path and export options. You can use the options parameter to specify the image’s format.
ExportToImageAsync(DataGridView, String) staticgrid, filePathExports DataGridView data to a PNG image with the specified path. You can use the ExportToImageAsync(DataGridView, String, ImageExportOptions) method overload to specify another image’s format.