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

Free Support Forum - aspose.com

HTML to PDF CSS file not parsing beyond certain length

Using Aspose.PDF version 20.1.0

Am trying to convert HTML to PDF. For CSS file beyond a certain length, the following error is thrown:

Error thrown {“max (-2147483648) < opt (0)”} on the line
Document masterDocument = new Document(webPath, options)

Any help/ ideas?


Thanks for contacting support.

Would you kindly share your sample HTML file in ZIP format. We will test the scenario in our environment and address it accordingly.