public static PdfPTable ShallowCopy(PdfPTable table) { PdfPTable nt = new PdfPTable(); nt.CopyFormat(table); return nt; }