/// <summary> /// Method to add a new row into the table /// </summary> /// <param name="newRow">New row</param> public void addRow(pdfTableRow newRow) { if (Type.GetType("sharpPDF.pdfTableRow").IsInstanceOfType(newRow)) { _rows.Add(newRow); } else { throw new pdfIncorrectRowException(); } }