We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

HTML Fragment insertion in multiple pages issue


We are trying to insert a single HTML Fragment which contains a SVG code in multiple pages of a PDF File.The HTML Fragment is visible only on the last page.

Attached is a sample code and the generated PDF where 2 HTML fragments are being inserted into 2 pages of the PDF.
As you can see the HTML is visible only on the last page of the document.

Please resolve the issue or provide the steps to include HTML fragment into multiple pages of PDF.

The Aspose PDF version we are using is

Hi Robert,

Thanks for your inquriy. I have tested the your sample code with Aspose.Pdf for Java 17.1.0 and unable to notice the reported issue. Please download and try latest version of Aspose.Pdf for Java, it will resolve the issue.

Please feel free to contact us for any further assistance.

Best Regards,