IHTMLRuleStyle::get_fontWeightIHTMLRuleStyle::get_fontWeight*
*



Contents  *



Index  *Topic Contents
*Previous Topic: IHTMLRuleStyle::put_fontWeight
*Next Topic: IHTMLRuleStyle::put_fontSize

IHTMLRuleStyle::get_fontWeight


HRESULT get_fontWeight(
    BSTR *p 
);

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

p
Address of a variable that receives the value of the attribute, which can be one of these strings:
normal
bold
bolder
lighter
100
200
300
400
500
600
700
800
900
See font-weight for details. This parameter receives NULL if the attribute is not set.

See also put_fontWeight

Up Top of Page


IHTMLRuleStyle::put_fontWeight


HRESULT put_fontWeight(
    BSTR v 
);

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

v
String specifying the font weight, or NULL to remove the attribute. The font weight can be one of these strings:
normal
bold
bolder
lighter
100
200
300
400
500
600
700
800
900
See font-weight for details.

See also get_fontWeight


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