Use the following JavaScript code to add an image to the Outputs tab:
// This adds an image to the Outputs Tab.
project.report.appendImage("Q Blue Logo.png");
Next
- QScript for an explanation of how to run this code.
- QScript Examples Library for other examples.
- QScript Reference for technical information.
- JavaScript for information about the JavaScript programming language.
- Table JavaScript and Plot JavaScript for tools for using JavaScript to modify the appearance of tables and charts.
- JavaScript Variables for detail on how to create new variables in the Variables and Questions tab using JavaScript.