IHTMLStyle::get_fontIHTMLStyle::get_font*
*



Contents  *



Index  *Topic Contents
*Previous Topic: IHTMLStyle::get_filter
*Next Topic: IHTMLStyle::get_fontFamily

IHTMLStyle::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.

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

Up Top of Page


IHTMLStyle::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.

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


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