-
Notifications
You must be signed in to change notification settings - Fork 53
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
How to add multiple pages? #26
Comments
You can calculate with A4Papersize.height from the example how much you can fit on one page. I‘m using this for example to calculate how many tablerows I can fit on one page and save the overlapping ones to draw them later on the next page. |
@LarsGvB can you give some extra details or sample of code please? |
Here is my code sample I use for tables: // count the rows that fit on the page
} |
I really don't know why the backtick markdown won't work properly here... |
Sorry I don't Understand.. Are you clearly Understand my question.. |
You want to know how to have content that exceed the size of one page splitted on multiple pages, right? I showed my example of calculating where to split the data array if you have tables that don't fit. I don't have something implemented for all types of content. I only needed it in my application for the tables. |
But I not used the tables only Images and text contents in pdf, please can you give details about this. |
I didnt do it for images or text, but I guess you can use the same approach. My first idea would be to have a variable that stores the currently used size and use |
Please can you recommend for another framework? |
Sorry I didnt test other frameworks for this. |
have you found any solution ? |
In my application the contents are exceeds more then one page means it overlaps at bottom of the page so I want to add multiple pages dynamically but unable to do that, please help me to find out the scenario.
The text was updated successfully, but these errors were encountered: