Four Js Development Tools Forum

Discussions by product => Reporting tools (GRW, GRE) => Topic started by: Asnidzal M. on May 14, 2020, 11:53:55 am



Title: Report With Background Image
Post by: Asnidzal M. on May 14, 2020, 11:53:55 am
Hi

I'm using Genero 3.0, is it possible for me to create a Genero report with background image such as attachment. There is only background color option at the properties. I also try using imagebox and set for full page but the image is place in front of text report. There is no option for "send to back".

Thanks

Asnidzal


Title: Re: Report With Background Image
Post by: Alex G. on May 14, 2020, 12:20:32 pm
Sure that is possible by making use of the paint order.
Paint order is controlled by the order of the items in the document. Parents are painted before their children and siblings are painted in the order that they appear in the document. This means that any child element of an image will paint on top of the image and any sibling element of an image that comes after the image in document order will be painted on top of the image if it's location intersects that of the image.
The "OrderStock" report in the "OrderReport" demo demonstrates that for a form report. In version 3.20 this report was slightly changed to demonstrate how the image can be dynamically removed when printing on paper that already contains the pre-printed image.

Best regards,
Alex


Title: Re: Report With Background Image
Post by: Scott B. on May 14, 2020, 05:10:50 pm
To add what Alex has said, you can view a video where we show how to use an image as the background to a form report.
See here: https://youtu.be/fCA2AbzXqqI


Title: Re: Report With Background Image
Post by: Asnidzal M. on May 14, 2020, 06:07:22 pm
Hi

Ok, yes... I got the idea ...  Thanks for your help.

Regards

Asnidzal