public void DeleteBodyRows() { List<PdfPRow> rows2 = new List<PdfPRow>(); for (int k = 0; k < headerRows; ++k) rows2.Add(rows[k]); rows = rows2; totalHeight = 0; if (totalWidth > 0) totalHeight = HeaderHeight; }