The function returns the height of the rectangle.
The function changes the height of the rectangle to the value passed in iHeight.