IHTMLStyle::get_fontVariantIHTMLStyle::get_fontVariant*
*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.

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

Up Top of Page


IHTMLStyle::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.

The default value for the font-variant attribute is "normal".

See also get_fontVariant


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