How to Change Object Colors?

How to Change Object Colors?

Using ReportGen there are color material menus which could be used to alter colors during
conversion, creating a new PDF from the same input file. The basic idea is shown in a video demo.

If adding custom JavaScript into the PDF, events or buttons could perform actions including setColor() to change the highlight color of an object dynamically.