Retrieves the vertical position of the element, in pixels, relative to the coordinate system of the offset parent.
Syntax
HRESULT get_offsetTop( long *p );
Parameters
- p
- Address of a long integer variable that receives the top position, in pixels.
Return Value
Returns S_OK if successful, or an error code otherwise.
Windows CE
Windows CE Use version 2.12 and later Minimum availability Internet Explorer 4.0
See Also
get_offsetHeight, get_offsetLeft, get_offsetParent, get_offsetWidth