Skip to main content

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.v24.1.Web.WebForms.dll

NuGet Package: DevExpress.Web.Reporting

Declaration

public void WriteHtmlTo(
    string filePath
)

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