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

Free Support Forum - aspose.com

Applying background to document Word

Hello,

I would like to apply a background to a document word, background coming from another .doc file.

What is the best way to apply it? Watermark?

Thanks a lot for lights.

Regards
Iainh

PS: Coding in c#

Hi

<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

Thanks for your inquiry. It depend on what you need to achieve. If you need to set page background color, the you need to use Document.PageColor property:

http://www.aspose.com/documentation/.net-components/aspose.words-for-.net/aspose.words.documentbase.pagecolor.html

If you need to insert background image, then you can use Document.BackgroundShape property:

http://www.aspose.com/documentation/.net-components/aspose.words-for-.net/aspose.words.documentbase.backgroundshape.html

And if you need to insert a watermark, you can use code provided in this article:

http://www.aspose.com/documentation/.net-components/aspose.words-for-.net/howto-add-a-watermark-to-a-document.html

Hope this helps.

Best regards,