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

Free Support Forum - aspose.com

Blue Background after converting Word To PDF

When converting the attached document from Word to PDF using Aspose words 14.10. You get a document with a blue background. I’ve attached the Word document and the resulting PDF.

I don’t know how this Word Document was created, I received the file from a client complaining our software was producing a PDF from the document with a blue background. After removing all the content in the document the blue background persists, I cannot replicate this in another document.

I’d like to know what the issue with this document is and how it can be replicated. Or better get a fix for Aspose.Words

Hi there,

Thanks for your inquiry.
Please note that Aspose.Words mimics the same behavior as MS Word does.
If you convert your document to Pdf using MS Word, you will get the same
output. Please use DocumentBase.PageColor property to get or set the page color of the document.

Document doc = new Document(MyDir + "Bug_SH010_1785_5.docx");
doc.PageColor = Color.Empty;
doc.Save(MyDir + "Out.pdf");

Please let us know if you have any more queries.