I have multiple tables that are stacked vertically. In this scenario, the first table has text that wraps to the next line. After the table drawn, the position is calculated and the next table is drawn.
The issue is that the second table covers part of the first table, but only when the last line of the first table has text that wraps
Below is the code that we are using to calculate postion.
var tableSize = table.Measure(RemainingPageSize);
position.YPosition += tableSize.Height + defaultLineHeight;
editor.Position.Translate(position.XPosition, position.YPosition);
Note:
position.YPosition and postion.XPosition are type "double"