IHTMLStyle::get_fontStyleIHTMLStyle::get_fontStyle*
*Contents  *Index  *Topic Contents
*Previous Topic: IHTMLStyle::get_fontSize
*Next Topic: IHTMLStyle::get_fontVariant

IHTMLStyle::get_fontStyle


HRESULT get_fontStyle(
    BSTR *p 
);

Retrieves the value of the CSS font-style attribute for the element.

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

Up Top of Page


IHTMLStyle::put_fontStyle


HRESULT put_fontStyle(
    BSTR v 
);

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

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


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