Contents Index Topic Contents | ||
Previous Topic: IHTMLStyle::get_posLeft Next Topic: IHTMLStyle::get_posWidth |
IHTMLStyle::get_posTop
HRESULT get_posTop( float *p );Retrieves the top position of the element.
- Returns S_OK if successful, or an error value otherwise.
- p
- Address of a variable that receives the top position.
Unlike the top property, this property's value is a floating-point number, not a string.
See also put_posTop
IHTMLStyle::put_posTop
HRESULT put_posTop( float v );Sets the top position of the element.
- Returns S_OK if successful, or an error value otherwise.
- v
- Floating-point value specifying the top position.
Setting this property changes the value of the top position but leaves the units designator for the property unchanged.
Unlike the top property, this property's value is a floating-point number, not a string.
See also get_posTop
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.