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

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:
https://reference.aspose.com/words/net/aspose.words/documentbase/pagecolor/
If you need to insert background image, then you can use Document.BackgroundShape property:
https://reference.aspose.com/words/net/aspose.words/documentbase/backgroundshape/
And if you need to insert a watermark, you can use code provided in this article:
https://docs.aspose.com/words/net/working-with-watermark/
Hope this helps.
Best regards,