Skip to content
Discussion options

You must be logged in to vote

Hi @sswi, this is totally possible, in fact this is covered in the PDF examples inside sandbox and demo projects.
I am doing similar stuff inside one of the apps where i need to export a "report". Basically i am using a drawnui layout to serve as a report template, then its rendered with BindingContext applied so data is applied and then exported as an image or as pdf upon user's selection.

So, let's say you define your layout as a class. You can do it in xaml or code-behind, i do report in xaml, because they are not speed-critical and xaml is easier to preview with hotreload. So i can preview what i will be exporting while designing.

I will put a snippet from my app here, if you have add…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by sswi
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #256 on October 24, 2025 13:43.