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

Free Support Forum - aspose.com

Remove grey background from PDF that is created while converting HTML to PDF

When I create a PDF file from HTML file although I see a white page, there is a Grey background for the text content. Is there a way to prevent this?


Would it be possible for you to attach the Html so I can try to replicate the issue?

Hello Carlos, our office network policy, doesnt allow to attach documents. Hence cant do that.


Without that, it will be difficult for me to post some code to help you but I will tell you what to use so you can figure it out yourself.

You can use PdfContentEditor and then use the DeleteStamp method from the editor.