ReportViewer.WriteHtmlTo(String) Method

Creates an HTML file that contains a Web representation of the report. The destination directory for the created file will be determined by the specified path.

Namespace: DevExpress.XtraReports.Web

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

Declaration

public void WriteHtmlTo(
    string filePath
)
Public Sub WriteHtmlTo(
    filePath As String
)

Parameters

Name Type Description
filePath String

A String value containing the full path to the HTML file to be created.

Remarks

The file generated by this method contains a Web representation of the report returned by the ReportViewer.Report property. If the file already exists at the specified path it will be overwritten without warning.

See Also