Skip to main content
All docs
V18.2

ASPxClientWebDocumentViewer.ExportTo(String) Method

Exports the document to a specified file format.

Namespace: DevExpress.XtraReports.Web.Scripts

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

Declaration

public void ExportTo(
    string format
)

Parameters

Name Type Description
format String

A String value, specifying the export format. The following formats are currently supported: ‘csv‘, ‘html‘, ‘image‘, ‘mht‘, ‘pdf‘, ‘rtf‘, ‘docx‘, ‘txt‘, ‘xls‘, and ‘xlsx‘.

Remarks

Once the document export has started, it will run until the resulting document is complete and cannot be interrupted or canceled in the process.

See Also