GridViewExtension.WriteRtfToResponse(GridViewSettings, Object, String, Boolean, RtfExportOptions) Method

Obsolete. 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.v20.2.dll

Declaration

[Obsolete("Use the ExportToRtf method instead.", true)]
public static void WriteRtfToResponse(
    GridViewSettings settings,
    object dataObject,
    string fileName,
    bool saveAsFile,
    RtfExportOptions exportOptions
)
<Obsolete("Use the ExportToRtf method instead.", True)>
Public Shared Sub WriteRtfToResponse(
    settings As GridViewSettings,
    dataObject As Object,
    fileName As String,
    saveAsFile As Boolean,
    exportOptions As RtfExportOptions
)

Parameters

Name Type
settings GridViewSettings
dataObject Object
fileName String
saveAsFile Boolean
exportOptions RtfExportOptions

Remarks

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

See Also