PDF Multi-Page Page Break

0 Answers 68 Views
PDF Processing
Stephen
Top achievements
Rank 1
Stephen asked on 16 May 2022, 01:39 PM

I have had a weird issue with multi-page PDFs. It is pushing content to a second page when there is plenty of room left on the page for the content to be on the first page. Please see below. I have tried adding the keepTogether CSS class, but it is still moving to next page. Has anyone else experienced this issue. Any help would be appreciated.

 

 

 

Stephen
Top achievements
Rank 1
commented on 17 May 2022, 07:34 PM

Here is another PDF example of a table on the page that doesn't go all the way to the end. I am using a page template but I have the footer using absolute postioning.

 

Filip
Telerik team
commented on 18 May 2022, 10:29 AM

Hi, Stephen,

Bear in mind that the keepTogether prop can be used for vertical alignment only. 

In regard to the gap present in the second photo, the component has an inbuilt logic that calculates when to move the components and in case the scale has been configured the logic may interpret that there isn't enough space, even though there is.

Can you provide an example that showcases this issue so that I can inspect it further?

Regards,Filip

No answers yet. Maybe you can help?

Tags
PDF Processing
Asked by
Stephen
Top achievements
Rank 1
Share this question
or