Skip to main content

GridViewExtension.WriteRtfToResponse(GridViewSettings, Object, String, Boolean, 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,
    string fileName,
    bool saveAsFile,
    RtfExportOptions exportOptions
)

Parameters

Name Type
settings GridViewSettings
dataObject Object
fileName String
saveAsFile Boolean
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