示例#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);
 }