Contents Index Topic Contents | ||
Previous Topic: IHTMLRuleStyle::put_fontStyle Next Topic: IHTMLRuleStyle::put_fontVariant |
IHTMLRuleStyle::get_fontStyle
HRESULT get_fontStyle( BSTR *p );Retrieves the value of the CSS font-style 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, which can be one of these strings:
normal italic oblique - See font-style for details. This parameter receives NULL if the attribute is not set.
See also put_fontStyle
IHTMLRuleStyle::put_fontStyle
HRESULT put_fontStyle( BSTR v );Sets the value of the CSS font-style attribute for the element.
- Returns S_OK if successful, or an error value otherwise.
- v
- String specifying the font style, or NULL to remove the attribute. The font style can be one of these strings:
normal italic oblique - See font-style for details.
See also get_fontStyle
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.