A TableCell object has a border, a text distance and a total width. These values are interacting and I thought to shed some light on this interaction.

The different properties in detail:

The TableCell.Width property is completely independent from all other settings. In other words, the width of a TableCell stays constant even if you change the border width or the distance from the text to the border.

The following illustration shows the different values of a TableCell:

TableCell values

As you can see, the text distance is measured from the inner border to the text and the width is measured from the left outer border to the right outer border.