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

Free Support Forum - aspose.com

"Page Color" Property in a word document

Hi, I am wondering if there is any way to get/set the Page Color property in a word document, not the option in the Paragraph menu, I mean the option in “Design” -> “Page Color”.

You can check in the attached document the page color I am trying to get/set

Best Regards,

Hi David,

Thanks for your inquiry. Please use Document.PageColor property to get or set the page color of the document. This property is a simpler version of BackgroundShape.

Please let us know if you have any more queries.

Thank you, it works, I was trying:

builder.getParagraphFormat().getShading().getBackgroundPatternColor()

Hi David,

Thanks for your feedback. Please feel free to ask if you have any question about Aspose.Words, we will be happy to help you.