ASPxClientWebDocumentViewer.ExportTo(String, Boolean) Method
Exports the document to a specified file format.
Namespace: DevExpress.XtraReports.Web.Scripts
Assembly: DevExpress.XtraReports.v18.2.Web.Scripts.dll
Declaration
Parameters
Name | Type | Description |
---|---|---|
format | String | A String value that specifies the export format. The following formats are currently supported: ‘csv‘, ‘html‘, ‘image‘, ‘mht‘, ‘pdf‘, ‘rtf‘, ‘docx‘, ‘txt‘, ‘xls‘, and ‘xlsx‘. |
inlineResult | Boolean | true, to try opening the result file in a new browser tab without a download; otherwise, false. |
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.
If the inlineResult parameter is set to true, but a file format is not supported by your browser, the resulting file will be downloaded.
See Also