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

Free Support Forum - aspose.com

Word to pdf with watermark

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.


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.