ReportViewer.WriteMhtTo(HttpResponse, XtraReport) Method

Writes the MHT version of a report 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

Declaration

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

Parameters

Type Name Description
HttpResponse response

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

XtraReport report

An XtraReport object to be represented as an MHT file.

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

See Also