Skip to main content

DocumentViewerExtension.ExportToAsync(MVCxDocumentViewerRemoteSourceSettings, 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(
    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
Task<FileResult>

An asynchronous operation result, containing a FileResult object.

See Also