Contents Index Topic Contents | ||
Previous Topic: IHTMLStyle::get_height Next Topic: IHTMLStyle::get_letterSpacing |
IHTMLStyle::get_left
HRESULT get_left( VARIANT *p );Retrieves the value of the CSS left attribute for the element.
- Returns S_OK if successful, or an error value otherwise.
- p
- Address of a variable that receives the value of the attribute. The value is a string consisting of a floating-point number and a units designator. The variable receives NULL if the attribute is not set. See left for details.
See also put_left
IHTMLStyle::put_left
HRESULT put_left( VARIANT v );Sets the value of the CSS left attribute for the element. The attribute determines the left position of the element.
- Returns S_OK if successful, or an error value otherwise.
- v
- String or value consisting of a floating-point number and a units designator. See left for details. Set this parameter to NULL to remove the attribute.
See also get_left
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.