Hello!
Code based on the PdfTable:
row = dataTable.NewRow();
row[0] = "test1";
row[1] = "";
dataTable.Rows.Add(row);
row = dataTable.NewRow();
row[0] = "test2";
row[1] = null;
dataTable.Rows.Add(row);
//create PdfTable
table = new PdfTable();
//--------------------------------------------
table.Style.DefaultStyle.Font = new PdfTrueTypeFont(new System.Drawing.Font("Times New Roman", 12f, System.Drawing.FontStyle.Strikeout | System.Drawing.FontStyle.Bold), true);
table.Style.AlternateStyle.Font = new PdfTrueTypeFont(new System.Drawing.Font("Times New Roman", 12f, System.Drawing.FontStyle.Underline | System.Drawing.FontStyle.Regular), true);
//---------------------------------------------
The result in Fig. 1
There is no text in the cell, but underline (strikethrough) appears in the table.
Is it possible to fix it?