The value returned is the sum of row heights from the top of the grid until this row, and does not account for the scroll position. To account for the scroll position, this value should be adjusted using the grid's C1.Win.FlexGrid.Util.BaseControls.ScrollableControl.ScrollPosition property.
To retrieve the size and position of a cell, use the C1FlexGridBase.GetCellRect method.