Skip to main content

DocumentViewerExtension.ExportToAsync(DocumentViewerRemoteSourceConfiguration, HttpRequestBase) Method

Asynchronously 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 Task<FileResult> ExportToAsync(
    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
Task<FileResult>

An asynchronous operation result, containing a FileResult object.

See Also