boundingTop property
Retrieves the distance between the top edge of the rectangle that bounds the TextRange object and the top side of the object that contains the TextRange.
Syntax
HRESULT value = object.get_boundingTop(* p);
Property values
Type: long
the top coordinate of the bounding rectangle, in pixels.
Remarks
Note If the TextRange is inside a textArea object, add the value of the element's IHTMLElement2::scrollTop property to the value of IHTMLTextRangeMetrics::boundingTop.
See also
Reference
IHTMLTextRangeMetrics::boundingHeight