Skip to main content

ASPxClientWebChartControl.SaveToWindow(format) Method

Exports a report to the file of the specified format, and shows it in a new Web Browser window.

Declaration

SaveToWindow(
    format: string
): void

Parameters

Name Type Description
format string

A string value specifying a format in which a report should be exported.

Remarks

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

  • “pdf”
  • “xls”
  • “xlsx”
  • “rtf”
  • “mht”
  • “png”
  • “jpeg”
  • “bmp”
  • “tiff”
  • “gif”

Note

Since exporting a chart to PDF is based upon the Pdf.Core library, don’t forget to add a reference to the DevExpress.Pdf.Core assembly into your project’s References list.

For more information, refer to How to: Export a Chart.

See Also