The requested page is not available for the requested platform. You are viewing the content for Default platform.

ReportViewer.WritePngImageTo(HttpResponse) Method

Exports the report to an image in PNG file format, and writes the output to the specified HTTP response.

Namespace: DevExpress.XtraReports.Web

Assembly: DevExpress.XtraReports.v19.1.Web.WebForms.dll

Declaration

public void WritePngImageTo(
    HttpResponse response
)
Public Sub WritePngImageTo(
    response As HttpResponse
)

Parameters

Name Type Description
response HttpResponse

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

Remarks

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

See Also