Skip to main content
A newer version of this page is available. .

DocumentViewerExtension.ExportTo(XtraReport, HttpRequestBase) Method

Exports a document displayed by the Document Viewer.

Namespace: DevExpress.Web.Mvc

Assembly: DevExpress.Web.Mvc5.v18.2.dll

Declaration

public static FileResult ExportTo(
    XtraReport report,
    HttpRequestBase request
)

Parameters

Name Type Description
report XtraReport

An XtraReport to be exported.

request HttpRequestBase

An HTTP request containing report export settings.

Returns

Type Description
FileResult

A FileResult used to send the exported file content in response to the HTTP request.

The following code snippets (auto-collected from DevExpress Examples) contain references to the ExportTo(XtraReport, HttpRequestBase) method.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also