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

Free Support Forum - aspose.com

Adding water mark image to word file

Hi Team,

I used code from below URL for adding an image as background to word file.


But that image is added to all pages in the document. But I want that to be added only to last page or any page of my choice. Can you please help me in this regard.

Hi Surabhi,

Thanks for your inquiry. Well, you can move cursor to any node on a particular page and insert image using DocumentBuilder.InsertImage method. To know page number of a node, you can use LayoutCollector and LayoutEnumerator classes. Hope, this helps.

Best regards,