-
-
Notifications
You must be signed in to change notification settings - Fork 557
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is there a way to create fixed height container? #828
Comments
You should be able to achieve what you want by using a combination of There is a discussion around this topic in #742, and from what I gather future versions (after 2024.3.0) may offer better support for text truncation. |
Indeed, the |
Lets say we have a container "ex. cell" that has specific dimension, and we want to put a text that is bigger than the cell dimension ,
normally, putting the bigger text inside cell will make the cell height to expand until it contains all the text,
in (iTextSharp) if I set this cell height as (Fixed Height), only part of the text (that the cell height can handle) will show, the remaining text will not show , and the cell height will not expand , see the image:
I tried (MaxHeight) without success, it throws exception.
so how can I achieve this in QuestPdf?
The text was updated successfully, but these errors were encountered: