public void BeginCell(PdfPCell cell, float completedRowsHeight, float rowHeight) { rowspan = cell.Rowspan; colspan = cell.Colspan; height = completedRowsHeight + Math.Max(cell.GetMaxHeight(), rowHeight); }