Hyun
Hyun

Reputation: 1

How to remove cellSpacing. table CellSpacing is zero, not work

Table tb = new Table();
tb.CellSpacing = 0;

I set table's CellSpacing 0. but line between cell and cell still remain. line is so thin. but still exist.

I want to remove that blank or line. How should I do?

Upvotes: 0

Views: 41

Answers (1)

Nemanja Vidačković
Nemanja Vidačković

Reputation: 73

Have you tried to change the border thickness ?

ThicknessConverter tc = new ThicknessConverter();

tb.BorderThickness = (Thickness)tc.ConvertFromString("0in");

Upvotes: 0

Related Questions