Contents Index Topic Contents | ||
Previous Topic: IHTMLStyle::get_whiteSpace Next Topic: IHTMLStyle::get_wordSpacing |
IHTMLStyle::get_width
HRESULT get_width( VARIANT *p );Retrieves the value of the CSS width attribute for the element.
- Returns S_OK if successful, or an error value otherwise.
- p
- Address of a variable that receives the width. See width for details. This parameter receives NULL if the attribute is not set.
See also put_width
IHTMLStyle::put_width
HRESULT put_width( VARIANT v );Sets the value of the CSS width attribute for the element. The attribute determines the element's width.
- Returns S_OK if successful, or an error value otherwise.
- v
- String specifying the width, which consists of a floating-point number and a units designator. See width for details. Set this parameter to NULL to remove the attribute.
See also get_width
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.