Contents Index Topic Contents | ||
Previous Topic: IHTMLStyle::get_fontFamily Next Topic: IHTMLStyle::get_fontStyle |
IHTMLStyle::get_fontSize
HRESULT get_fontSize( VARIANT *p );Retrieves the value of the CSS font-size 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. See font-size for details. This parameter receives NULL if the attribute is not set.
See also put_fontSize
IHTMLStyle::put_fontSize
HRESULT put_fontSize( VARIANT v );Sets the value of the CSS font-size attribute for the element.
- Returns S_OK if successful, or an error value otherwise.
- v
- String specifying the font size, or NULL to remove the attribute. See font-size for details.
See also get_fontSize
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.