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

Free Support Forum - aspose.com

Checkbox is coming with gray border

I am drawing checkbox using aspose.words but its coming with default gray background border. can i change this to white. i tried


property but it doesn’t work.
Reference document is added.

Thanks for your request. No, You can’t change background color of the check box. Also, I think that you can’t do this using MS Word.
DocBuilder.CellFormat.Shading.BackgroundPatternColor This will change background color of the table cell.
Best regards.

You wanna say that we can’t add checkbox with white background.
Currently it is lightgray background.
It seems very odd in the document where all the other cell background is red but checkbox default is coming lightgray.
Is there no way to make it some other color preferably white.
Thanks in advance.

Grey background color shows that this is field. You can press Alt+F9 to see its code. There is no way to change its background color.
Best regards.