Contents Index Topic Contents | ||
Previous Topic: IHTMLStyle::get_fontStyle Next Topic: IHTMLStyle::get_fontWeight |
IHTMLStyle::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.
The default value for this property is 1.
See also put_fontVariant
IHTMLStyle::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.
The default value for the font-variant attribute is "normal".
See also get_fontVariant
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.