Diagonal Cell Borders


I have the latest Word dll version ( and am creating a table with DocBuilder. Apparently, you’ve just added DiagonalUp and DiagonalDown borders to the borders collection. The problem is that I can’t turn them off!

If I make them White, I see a White “X” in every cell that has something in it. Linestyle.None does nothing. System.Drawing.Color.Empty does nothing. How do I make them disappear completely without affecting the text or picture within the cell?


If you use Borders.LineStyle etc then it will set only top, left, bottom and right borders.

I mean don't use foreach Border in Borders.