Skip to main content

DocumentViewerExtension.ExportTo(DocumentViewerRemoteSourceConfiguration, HttpRequestBase) Method

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

Namespace: DevExpress.Web.Mvc

Assembly: DevExpress.Web.Mvc5.v24.1.dll

NuGet Package: DevExpress.Web.Mvc5

Declaration

public static FileResult ExportTo(
    DocumentViewerRemoteSourceConfiguration configuration,
    HttpRequestBase request
)

Parameters

Name Type Description
configuration DocumentViewerRemoteSourceConfiguration

A DocumentViewerRemoteSourceConfiguration 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.

See Also