/// <summary> /// 移除行 /// </summary> /// <param name="sheet">NPOI工作表</param> /// <param name="rowIndex">行索引</param> public static int RemoveRow(this NPOI.SS.UserModel.ISheet sheet, int rowIndex) => sheet.RemoveRows(rowIndex, rowIndex);