Click to return to the Reusing Browser Technology home page    
IHTMLTextRangeMetrics::ge...     IHTMLTextRangeMetrics2 In...     IHTMLTextRangeMetrics Int...    
Web Workshop  |  Reusing Browser Technology

IHTMLTextRangeMetrics::get_offsetTop Method


Retrieves the top position of the object in relation to the object's parent coordinates.

Syntax

HRESULT get_offsetTop(
    long *p
);

Parameters

p
Address of a long variable that receives the calculated top position of the rectangle bounding the TextRange interface.

Return Value

Returns S_OK if successful, or an error code otherwise.

See Also

get_boundingHeight, get_boundingLeft, get_boundingTop, get_boundingWidth, get_offsetLeft


Back to topBack to top

Did you find this topic useful? Suggestions for other topics? Write us!

© 1999 Microsoft Corporation. All rights reserved. Terms of use.