Export (0) Print
Expand All
1 out of 1 rated this helpful - Rate this topic

fgColor property

Sets or gets the foreground (text) color of the document.

Syntax

JavaScript

p = object.fgColor

Property values

Type: Variant

one of the color names or values in the Color Table.

#000000

Default value.

Remarks

Change this property before the document is rendered to change the displayed color. The default foreground color is browser-specific.

See also

document
Reference
color
text

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.