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

Free Support Forum - aspose.com

Replace Background color


If a word document has "Gray" background color, how can I replace it with white background color?



Thanks for your inquiry. To replace page color you should use the following line of code:

doc.PageColor = Color.White;

Please let me know in case of any issues. I will be glad to help you.

Best regards,