Document.bgColor Property
SharePoint Designer Developer Reference |
Returns or sets a String, specifying a color name or red-green-blue (RGB) value, that represents the color behind the content for a specified object. Corresponds to the bgcolor attribute of the BODY element.
Syntax
expression.bgColor
expression Required. A variable that represents a Document object.
Remarks
The bgColor property is similar to the backgroundColor property; however, the bgColor property corresponds to the value of the bgcolor attribute, while the backgroundColor property corresponds to the backgroundcolor property for a cascading style sheet.
A String value of "NoColor" for the bgColor property indicates that the bgcolor attribute is not set.
For more information about RGB color values, see the Color Table.
See Also