count property

int count

Get count of the present Range

Implementation

int get count {
  int tempCount = 0;
  // ignore: prefer_final_locals
  for (int iRow = row, iLastRow = lastRow; iRow <= iLastRow; iRow++) {
    // ignore: prefer_final_locals
    for (int iCol = column, iLastCol = lastColumn; iCol <= iLastCol; iCol++) {
      tempCount++;
    }
  }
  return tempCount;
}