Spire.PDF is a professional PDF library applied to creating, writing, editing, handling and reading PDF files without any external dependencies. Get free and professional technical support for Spire.PDF for .NET, Java, Android, C++, Python.

Mon Nov 27, 2017 7:01 am

Hi,
How to implement page break in html to pdf conversion. We are giving
Code: Select all
<div style='page-break-after:always;'>
in our HTML, but when HTML is getting converted to PDF page break is not getting applied.

curvaturepdfapi
 
Posts: 32
Joined: Wed Apr 20, 2016 10:08 pm

Mon Nov 27, 2017 7:52 am

Hello,

Thanks for your inquiry. Pleas refer to the below documentation and use New Plugin which could parse the style of page break to accomplish your task. If your encounter any problem, please share us with your full html.
https://www.e-iceblue.com/Tutorials/Spi ... lugin.html

Best regards,
Simon
E-iceblue support team
User avatar

Simon.yang
 
Posts: 620
Joined: Wed Jan 11, 2017 2:03 am

Tue Nov 28, 2017 11:04 am

Thanks for the Quick response... Page-break is working after giving "true" to Auto Detect Page break in Load from HTML method.

curvaturepdfapi
 
Posts: 32
Joined: Wed Apr 20, 2016 10:08 pm

Wed Nov 29, 2017 1:28 am

Hello,

Thanks for your feedback. If there is any other question, please feel free to contact us.

Best regards,
Simon
E-iceblue support team
User avatar

Simon.yang
 
Posts: 620
Joined: Wed Jan 11, 2017 2:03 am

Return to Spire.PDF