DataGridExportExtensions.ExportToRtfAsync(DataGridView, Stream, RtfExportOptions) Method
Exports DataGridView data to a stream in RTF 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 ExportToRtfAsync(
this DataGridView grid,
Stream stream,
RtfExportOptions options
)
Parameters
| Name | Type | Description |
|---|---|---|
| grid | DataGridView | The exported DataGridView. |
| stream | Stream | A stream to which the DataGridView sends the created file. |
| options | RtfExportOptions |
|
Returns
| Type | Description |
|---|---|
| Task | A task that allows you to wait for the export is ended. |
See Also