Skip to main content

DocumentViewerExtension.ExportTo(DocumentViewerRemoteSourceConfiguration, Action<DeserializeClientParameterEventArgs>, HttpRequestBase) Method

Exports a document displayed by the Document Viewer.

Namespace: DevExpress.Web.Mvc

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

Declaration

public static FileResult ExportTo(
    DocumentViewerRemoteSourceConfiguration configuration,
    Action<DeserializeClientParameterEventArgs> deserializeClientParameter,
    HttpRequestBase request
)

Parameters

Name Type Description
configuration DocumentViewerRemoteSourceConfiguration

An DocumentViewerRemoteSourceConfiguration object providing configuration 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
FileResult

A FileResult used to send the exported file content in response to the HTTP request.

See Also