IHTMLRuleStyle::get_fontVariantIHTMLRuleStyle::get_fontVariant*
*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.

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

Up Top of Page


IHTMLRuleStyle::put_fontVariant


HRESULT put_fontVariant(
    BSTR v 
);

Sets the value of the CSS font-variant attribute for the element.

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


Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.