MSDN Library

IHTMLRect::top Property

Sets or retrieves the top coordinate of the rectangle surrounding the object content.

Syntax


HRESULT IHTMLRect::get_top(long *p);HRESULT IHTMLRect::put_top(long v);

Parameters

p
Pointer to a variable of type long that receives the top coordinate of the rectangle, in pixels.
v
long that specifies the top coordinate of the rectangle, in pixels.

Return Value

Returns S_OK if successful, or an error value otherwise.

See Also

Community Additions

Show:
© 2016 Microsoft