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

Exports a document displayed by the Document Viewer.

Namespace: DevExpress.Web.Mvc

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

Declaration

public static FileResult ExportTo(
    DocumentViewerRemoteSourceConfiguration configuration,
    Action<DeserializeClientParameterEventArgs> deserializeClientParameter,
    HttpRequestBase request
)
Public Shared Function ExportTo(
    configuration As DocumentViewerRemoteSourceConfiguration,
    deserializeClientParameter As Action(Of DeserializeClientParameterEventArgs),
    request As HttpRequestBase
) As FileResult

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