Free Support Forum - aspose.com

Checkbox is coming with gray border

Hi,

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

DocBuilder.CellFormat.Shading.BackgroundPatternColor

property but it doesn't work.

Reference document is added.

Hi

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.

Hi

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.