Contents Index Topic Contents | ||
Previous Topic: IHTMLRuleStyle::put_font Next Topic: IHTMLRuleStyle::put_color |
IHTMLRuleStyle::get_font
HRESULT get_font( BSTR *p );Retrieves the values of the CSS font-style, font-variant, font-weight, font-size, line-height, and font-family attributes for the element.
- Returns S_OK if successful, or an error value otherwise.
- p
- Address of a variable that receives the values of the font-related CSS attributes. See font for details. This parameter receives NULL if no font-related CSS attributes are set for the element.
See also put_font
IHTMLRuleStyle::put_font
HRESULT put_font( BSTR v );Sets the value of the CSS font-style, font-variant, font-weight, font-size, line-height, and font-family attributes for the element.
- Returns S_OK if successful, or an error value otherwise.
- v
- String specifying values for one or more font attributes. This parameter has the following format:
[<font-style> || <font-variant> || <font-weight>] <font-size> / [<line-height>] <font-family>- See font for details.
See also get_font
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.