Click or drag to resize

ReportExecutionGenerateResult Method

Overload List
 NameDescription
Public methodGenerateResult(ReportFormat) Generate the result of the current execution in a given format and returns the path of the generated file, created in the generation folder. The same execution can be used to generate several formats (e.g. Excel then PDF) without executing the report again, but the calls must be sequential: the report execution state (format, result file path) is shared, so do not generate several formats in parallel.
Public methodGenerateResult(ReportFormat, String) Generate the result of the current execution in a given format to an explicit file path (its directory is created if necessary, an existing file is overwritten) and returns this path. This allows the caller to control the result location instead of the generation folder. The calls must be sequential (see GenerateResult(ReportFormat)). The intermediate files of a conversion (e.g. the HTML rendered for a PDF conversion) are still created in the generation folder.
Top
See Also