A newer version of this page is available. Switch to the current version.

ReportViewer.WriteRtfTo(HttpResponse, XtraReport) Method

Exports the report to the RTF format, and writes the output to the specified HTTP response. An XtraReport object should be passed to this method as a parameter.

Namespace: DevExpress.XtraReports.Web

Assembly: DevExpress.XtraReports.v18.2.Web.WebForms.dll


public static void WriteRtfTo(
    HttpResponse response,
    XtraReport report
Public Shared Sub WriteRtfTo(
    response As HttpResponse,
    report As XtraReport


Name Type Description
response HttpResponse

A HttpResponse object specifying the HTTP response to which the file should be written.

report XtraReport

An XtraReport object to be represented as an RTF file.


The stream generated by this method contains the RTF representation of the report, and will be written to the specified HttpResponse object.

See Also