Skip to main content

DocumentViewerExtension.ExportToAsync(MVCxDocumentViewerRemoteSourceSettings, Action<DeserializeClientParameterEventArgs>, HttpRequestBase) Method

Asynchronously exports a document displayed by the Document Viewer.

Namespace: DevExpress.Web.Mvc

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

NuGet Package: DevExpress.Web.Mvc5

Declaration

public static Task<FileResult> ExportToAsync(
    MVCxDocumentViewerRemoteSourceSettings settings,
    Action<DeserializeClientParameterEventArgs> deserializeClientParameter,
    HttpRequestBase request
)

Parameters

Name Type Description
settings MVCxDocumentViewerRemoteSourceSettings

An MVCxDocumentViewerRemoteSourceSettings object providing settings to a remote document source of the Document Viewer.

deserializeClientParameter Action<DeserializeClientParameterEventArgs>

A Action that will be used to deserialize values assigned to report parameters on the client.

request HttpRequestBase

An HTTP request containing report export settings.

Returns

Type Description
Task<FileResult>

A Task, specifying an asynchronous operation.

See Also