title: Delete cell content using itextsharp pdf api
body: <p>Got a question on table formatting when using iText7 for .Net . I want to create a table with data pulled from a database, ie, populating the table dynamically. I need the table not to have any borders. </p>
  
  <p>I've tried using <code>myTable.DefaultCell.Border = iTextSharp.text.Rectangle.NO_BORDER;</code> to no avail. So, I resorted to using cells, instead. Using <code>cell.Border = 0;</code> works just fine. However, when I add content to the cell, using <code>cell.AddElement</code>, it keeps adding content to the cell, but not overwriting it. This is a problem for dynamic table creation. </p>
  
  <p>My question is whether there is a way to clear the contents of a cell (like <code>cell.Delete()</code> or so).
  I know there is no obvious method under <code>cell</code>, but maybe there is a hack some of you know about. So, how can I delete the contents of a table cell using iText7 for .Net?</p>