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

Free Support Forum - aspose.com

Watermark lost while converting a .docx document to .pdf

Team,
I have a .docx file that is created from a Telerik “DocxFormatProvider” included as an attachment here, it is not recognizing the watermark and show the image without watermark properties, I have tried converting the document from the online Aspose website


but got the same result the output is fine in MS Word but it’s not as expected after converting to pdf.
I am using Aspose.Word 21.1.0 and below is my code snippet
          var data = new MemoryStream(File.ReadAllBytes(@"input.docx"));
          var doc = new Aspose.Words.Document(data);
          doc.Save("output.pdf");

Output in MS WORD
image.jpg (130.1 KB)

PDF OUTPUT
image.jpg (97.8 KB)

DOCX File
input.docx (133.6 KB)

please help

@akhonzadairshad

We have tested the scenario using the latest version of Aspose.Words for .NET 21.9 and have not found any issue with output PDF. Please check the attached output PDF files generated by MS Word and Aspose.Words. Both documents are same. 21.9.pdf (132.7 KB)
ms word.pdf (54.7 KB)