fgColor property
Sets or gets the foreground (text) color of the document.
Syntax
HRESULT value = object.put_fgColor( v);HRESULT value = object.get_fgColor(* p);
Property values
Type: VARIANT
one of the color names or values in the Color Table.
Remarks
Change this property before the document is rendered to change the displayed color. The default foreground color is browser-specific.
See also
- Reference
- IHTMLHRElement::color
- IHTMLBodyElement::text
Show: