Conversion of HTML page to PDF throws error when applying css styles after upgrading from 18.2 to version 18.5

Hi,

After upgrading to version 18.5 of Aspose.PDF, the custom loading of styles/resources using CustomLoaderOfExternalResource throws an error for some files during conversion of HTML content to PDF.
But, this functionality was working fine previously with version 18.2 and now has error: “a parameter or an operation is not supported by the underlying object”

Attached are some files that throw error: Content.zip (27.7 KB)

Please do let me know how this can be solved.

Thanks.

@NDechamma,

Please send us the ZIP of source HTML document and code. We will investigate your scenario in our environment, and share our findings with you.

Please find the html page and the referenced css. I have included only the functions that will be used in a text file as I can’t be sending across all the related files.

Content.zip (57.9 KB)

@NDechamma,

We are unable to replicate the said error with custom loading of external resources. Please send us the complete code which you are using to convert HTML to PDF. Your response is awaited.