setRowHeight method

void setRowHeight(
  1. int iRowIndex,
  2. double value,
  3. bool bIsBadFontHeight,
  4. int units,
)

Sets inner row height.

Implementation

void setRowHeight(
    int iRowIndex, double value, bool bIsBadFontHeight, int units) {
  value = book.convertUnits(value, units, 6);

  Row? rowObj = rows[iRowIndex];
  if (rows[iRowIndex] == null) {
    rowObj = Row(this);
    rowObj.index = iRowIndex;
    rows[iRowIndex] = rowObj;
  }
  if (rowObj!.height != value) {
    rowObj.height = value;
  }
}