Sets the size of image file in the vertical direction in pixels (number of rows). See SetImageXSize.