Share via


DesignerDocument.fgColor Property

SharePoint Designer Developer Reference

Sets or returns a String, specifying a color name or red-green-blue (RGB) value, that represents the foreground (or text) color of the document. Corresponds to the text attribute of the BODY element.

Syntax

expression.fgColor

expression   Required. A variable that represents a DesignerDocument object.

Remarks

The fgColor property sets the value of the text attribute for the BODY element. For more information about setting colors, see the Color Table on MSDN.

See Also