I am testing on DOCX files a program I wrote for DOC files. Everything seems to be working fine, except for a command which applies highlighting, which does not work on DOCX files.
This is very strange. Here is the commands I use :
oBuilderC.Font.HighlightColor = Color.Yellow
oBuilderC.Write("some new string")
When I open the file, "some new string" is there, but not highlighted.
However, if I use Font.Color instead, "some new string" is there and with the right colour.
oBuilderC.Font.Color = Color.DarkRed
Are you aware of this? Could this be a bug?