Skip to main content

GridViewExtension.WriteRtfToResponse(GridViewSettings, Object, RtfExportOptions) Method

OBSOLETE

Use the ExportToRtf method instead.

Exports data to a file in RTF format and writes it to the Response in binary format.

Namespace: DevExpress.Web.Mvc

Assembly: DevExpress.Web.Mvc5.v24.1.dll

NuGet Package: DevExpress.Web.Mvc5

Declaration

[Obsolete("Use the ExportToRtf method instead.", true)]
public static void WriteRtfToResponse(
    GridViewSettings settings,
    object dataObject,
    RtfExportOptions exportOptions
)

Parameters

Name Type
settings GridViewSettings
dataObject Object
exportOptions RtfExportOptions

Remarks

DevExpress controls require the DevExpress.RichEdit.v24.1.Export.dll library to export their content to DOCX or RTF format.

See Also