Contents Index Topic Contents | ||
Previous Topic: IHTMLTextRangeMetrics::get_offsetLeft Next Topic: IHTMLTitleElement |
IHTMLTextRangeMetrics::get_offsetTop
Returns the calculated top position of the rectangle bounding the TextRange, in pixels, based on the offset parent.
Syntax
HRESULT get_offsetTop( long * p );Parameters
- p
- [out] Address of a variable that receives the calculated top position of the rectangle bounding the TextRange.
Return Value
Returns S_OK if successful, or an error code otherwise.
See Also
IHTMLTextRangeMetrics, IHTMLTextRangeMetrics::get_boundingHeight, IHTMLTextRangeMetrics::get_boundingLeft, IHTMLTextRangeMetrics::get_boundingTop, IHTMLTextRangeMetrics::get_boundingWidth, IHTMLTextRangeMetrics::get_offsetLeft
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.