Skip to main content
All docs
V18.2

ASPxClientDocumentViewer.SaveToDisk(String) Method

Exports a report to a file of the specified format, and saves it to the disk.

Namespace: DevExpress.XtraReports.Web.Scripts

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

Declaration

public void SaveToDisk(
    string format
)

Parameters

Name Type Description
format String

A string specifying the format to which a report should be exported.

Remarks

The following export formats can be used as a format parameter passed to the SaveToDisk method:

  • “pdf”
  • “xls”
  • “xlsx”
  • “csv”
  • “rtf”
  • “mht”
  • “txt”
  • “bmp”
  • “png”
  • “jpg”
  • “gif”
  • “tiff”
See Also