Welcome Guest Search | Active Topics | Sign In | Register

HTML to PDF Slices through controls Options
stephen
Posted: Tuesday, September 20, 2016 2:16:10 PM
Rank: Newbie
Groups: Member

Joined: 8/15/2016
Posts: 3
We are noticing when we use the Html to PDF functionality with pages that have many rows of textboxes, if the textboxes end up at the bottom of the first page, where there is not enough room to render the entire control, the top half of the textbox will end up on page 1 and the bottom half will end up on page 2. Is there any way we can make the HTML to PDF generation keep an entire control together on a single page, i.e. push the textboxes to the second page? Thanks!
eo_support
Posted: Tuesday, September 20, 2016 2:18:15 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,229
Yes. You can apply "page-break-inside:avoid" on your textbox. See here for more details:

https://www.essentialobjects.com/doc/pdf/htmltopdf/paging.aspx

Thanks!


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.