Output as HTML (Swift)
Set up and configure output to HTML from your reporting application.
To output your report as an HTML file, specify HTML
in the
selectDevice()
function.
let rcPtr = createRuntimeConfiguration(reportDesignFileName)
selectDevice (rcPtr, HTML)
The report file will be written to the current working directory, unless you specify another location through the use of environment variables or by using the C API within your Swift application.
Device-specific configuration functions
Once you have specified
HTML
as the output, there is a device-specific
configuration function available: configureHTMLDevice()
These functions should be included after calling
the selectDevice()
function but before calling the
createContentHandler()
function.
For the full list of available functions, refer to the Genero Report Writer C API documentation.