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