You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, I am rewriting our reporting system and one of the possible solution is QuestPDF.
I need to achieve something like this:
I used Layers, but I can't say which layer is primary, because the user can have only one line text, or can have small image, or no image at all. The image can be place dynamically with padding, can have exact size or can fit to some content.
Is there a way, how to force questPDF to show both layers even if the non-primary layer is bigger than primary layer?
Or maybe I chose a wrong approach.
Those are some possible results based on the user configuration:
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello, I am rewriting our reporting system and one of the possible solution is QuestPDF.
I need to achieve something like this:
I used Layers, but I can't say which layer is primary, because the user can have only one line text, or can have small image, or no image at all. The image can be place dynamically with padding, can have exact size or can fit to some content.
Is there a way, how to force questPDF to show both layers even if the non-primary layer is bigger than primary layer?
Or maybe I chose a wrong approach.
Those are some possible results based on the user configuration:
The code:
Beta Was this translation helpful? Give feedback.
All reactions