Generates a document from the passed in template. All parameters and datasources are read from the template and applied to the generation.
Syntax
Visual Basic (Usage) | Copy Code |
---|
Dim outputExtension As String
Dim template As Stream
Dim rootFolder As String
Dim value As Report
value = Report.ProcessTemplate(outputExtension, template, rootFolder) |
Parameters
- outputExtension
- The output format for the generated document. This is the extension like "pdf". Printer is not supported in this call.
- template
- The template to generate.
- rootFolder
- The location of the template. This is needed solely for file based datasources and relative paths to imported files. If neither of those are used in this template, this can be null.
Return Value
The generated document.
Requirements
Platforms: Windows 10, Windows NT, Windows Server
See Also