Skip to main content

DataGridExportExtensions.ExportToRtfAsync(DataGridView, String, RtfExportOptions) Method

Exports DataGridView data to RTF format with the specified path and 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,
    string filePath,
    RtfExportOptions options
)

Parameters

Name Type Description
grid DataGridView

The exported DataGridView.

filePath String

The exported RTF file’s full path and the name.

options RtfExportOptions

RTF export settings.

Returns

Type Description
Task

A task that allows you to wait for the export is ended.

See Also