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.
- 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 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
IHTMLRuleStyle::put_fontWeight
HRESULT put_fontWeight( BSTR v );Sets the value of the CSS font-weight attribute for the element.
- Returns S_OK if successful, or an error value otherwise.
- 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
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.