Word to pdf with watermark

hi
i am using below written lines of code to save a word document with watermark in pdf form.

Document doc = new Document(“D:\Watermark\TestDocument.docx”);
doc.save( “D:\Watermark\OutputDocument”, SaveFormat.PDF);

the shape using which watermark is inserted in word document get shrinked in conversion process. kindly suggest possible solution to this problem so that watermark don’t get disturbed.

Both word and pdf files are attached for reference.

Regards
Saima

Hi Saima,

Thanks for your inquiry. We have tested the scenario using latest version of Aspose.Words for Java 16.3.0 and have not found the shared issue. Please use Aspose.Words for Java 16.3.0. We have attached the output document with this post for your kind reference.