DocumentViewerExtension.ExportToAsync(MVCxDocumentViewerRemoteSourceSettings, HttpRequestBase) Method

Asynchronously exports a document displayed by the ASP.NET Document Viewer.

Namespace: DevExpress.Web.Mvc

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

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