Contents Index Topic Contents | ||
Previous Topic: IHTMLStyle::get_font Next Topic: IHTMLStyle::get_fontSize |
IHTMLStyle::get_fontFamily
HRESULT get_fontFamily( BSTR *p );Retrieves the value of the CSS font-family 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. See font-family for details. This parameter receives NULL if the attribute is not set.
See also put_fontFamily
IHTMLStyle::put_fontFamily
HRESULT put_fontFamily( BSTR v );Sets the value of the CSS font-family attribute for the element.
- Returns S_OK if successful, or an error value otherwise.
- v
- String specifying the font family, or NULL to remove the attribute. See font-family for details.
See also get_fontFamily
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.