Background Image #175
-
Hi there, I am creating an invoice and I was wondering if it is possible to set the background as an image. I know it supports a hex colour string or Colors but I'm not sure if there is a way to set a custom background. Or is it possible to have a work around i.e. having an image that stretches across the whole page and having all other content on top of it? Thank you, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hello 😁 You can use the Layers element to put an image behind or in front of your content. If the background image should work as a watermark, you can also utilize proper slots in the Page element. Just make sure that your image uses proper aspect ratio and has enough space, so to avoid the InfiniteDocument exception Please notice that both solutions accept any container and content, not only images. So technically, your background can consists of a table with text 🤣 |
Beta Was this translation helpful? Give feedback.
Hello 😁
You can use the Layers element to put an image behind or in front of your content. If the background image should work as a watermark, you can also utilize proper slots in the Page element. Just make sure that your image uses proper aspect ratio and has enough space, so to avoid the InfiniteDocument exception
Please notice that both solutions accept any container and content, not only images. So technically, your background can consists of a table with text 🤣