DocumentViewerExtension.ExportTo(MVCxDocumentViewerRemoteSourceSettings, Action<DeserializeClientParameterEventArgs>, HttpRequestBase) Method
Exports a document displayed by the Document Viewer.
Namespace: DevExpress.Web.Mvc
Assembly: DevExpress.Web.Mvc5.v24.1.dll
NuGet Package: DevExpress.Web.Mvc5
Declaration
public static FileResult ExportTo(
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 |
---|---|
FileResult | A FileResult used to send the exported file content in response to the HTTP request. |
See Also