QuestPDF. Dynamic columns and rows #872
Replies: 4 comments 4 replies
-
Beta Was this translation helpful? Give feedback.
-
Ok makes sense. I have modified my code to look like this. 2 things.
`Document.Create(document =>
}).ShowInPreviewer();` |
Beta Was this translation helpful? Give feedback.
-
I resolved the splitting over pages using .ShowEntire(). Just not sure why the Image is not forced to the width and height I want rather than taking up the full space. |
Beta Was this translation helpful? Give feedback.
-
I have decided to rather keep the sender and timestamp on the first row. I have amended my code to reflect this but the timestamp does not right align in the row. Any suggestions?
|
Beta Was this translation helpful? Give feedback.
-
I want to have PDF content to reflect incoming and outgoing messages. I am using columns with 2 rows to reflect left and right indentation based on whether the message is outgoing or incoming. This seems to work fine using Constant and Relative Items. I ideally would want each row to adjust based on the message content so smaller messages take up less space while longer ones take up more and they should be able to overlap.
It currently looks like this:
Is there a better way of achieving this? This is what my codes currently looks like:
Beta Was this translation helpful? Give feedback.
All reactions