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

DocumentViewerExtension.ExportTo(MVCxDocumentViewerRemoteSourceSettings, HttpRequestBase) Method

Exports a document displayed by the ASP.NET Document Viewer.

Namespace: DevExpress.Web.Mvc

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

Declaration

public static FileResult ExportTo(
    MVCxDocumentViewerRemoteSourceSettings settings,
    HttpRequestBase request
)

Parameters

Name Type Description
settings MVCxDocumentViewerRemoteSourceSettings

An MVCxDocumentViewerRemoteSourceSettings object.

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 snippet (auto-collected from DevExpress Examples) contains a reference to the ExportTo(MVCxDocumentViewerRemoteSourceSettings, 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