
This interface specifies a new font face, size, and color to be used for rendering the enclosed text.
IHTMLFontElement Methods
| put_color | get_color | put_face |
| get_face | put_size | get_size |
HRESULT put_color(
VARIANT v
);
Sets the color to be used by the font.
See also get_color
HRESULT get_color(
VARIANT *p
);
Retrieves the color used by the font.
See also put_color
HRESULT put_face(
BSTR v
);
Sets the typeface to use for the text of the element.
See also get_face
HRESULT get_face(
BSTR *p
);
Retrieves the current font's typeface.
See also put_face
HRESULT put_size(
VARIANT v
);
Sets the font size for the text of the element.
See also get_size
HRESULT get_size(
VARIANT *p
);
Retrieves the current font size for the text of the element.
See also put_size
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.