[]
        
(Showing Draft Content)

C1.Web.Api.Report.ReportController.ExportReport

ExportReport Method

ExportReport(string, IDictionary<string, string>, string, IDictionary<string, string[]>, PageSettings)

Exports the specified report to the specified export filter with options and the specified page settings or/and parameters.

Declaration
protected virtual IHttpActionResult ExportReport(string reportPath, IDictionary<string, string> exportOptions, string exportFileName, IDictionary<string, string[]> parameters, PageSettings pageSettings)
Protected Overridable Function ExportReport(reportPath As String, exportOptions As IDictionary(Of String, String), exportFileName As String, parameters As IDictionary(Of String, String()), pageSettings As PageSettings) As IHttpActionResult
Parameters
Type Name Description
string reportPath

The full path of the report.

IDictionary<string, string> exportOptions

The export options.

string exportFileName

The optional exported file name.

IDictionary<string, string[]> parameters

The optional parameters for rendering.

PageSettings pageSettings

The optional page settings for rendering.

Returns
Type Description
IHttpActionResult

An System.Web.Http.IHttpActionResult type object with content of exported file stream.