예제 #1
0
 /**
  * Remove a row at position pos from the table
  * @param pos	position the Row in the Table
  */
 public bool RemoveRow(int pos)
 {
     if (pos >= 0 && pos < tableRows.Count)
     {
         ctTbl.RemoveTr(pos);
         tableRows.RemoveAt(pos);
         return(true);
     }
     return(false);
 }
예제 #2
0
파일: XWPFTable.cs 프로젝트: ornoand/npoi
 /**
  * Remove a row at position pos from the table
  * @param pos	position the Row in the Table
  */
 public bool RemoveRow(int pos)
 {
     if (pos >= 0 && pos < tableRows.Count)
     {
         if (ctTbl.SizeOfTrArray() > 0)
         {
             ctTbl.RemoveTr(pos);
         }
         tableRows.RemoveAt(pos);
         return(true);
     }
     return(false);
 }