borderColorDark Property
Returns or sets a String, specifying a color name or red-green-blue (RGB) value, that represents the color for the darker of the two colors used to draw a three-dimensional border around a specified object.
expression.borderColorDark
*expression * Required. An expression that returns one of the objects in the Applies To list.
Remarks
For more information about setting colors, see the HTML Color Table.
Example
The following example sets the light and dark colors for the 3-D border around the first table in the active document.
Sub Set3DBorder()
Dim objTable As FPHTMLTable
Set objTable = ActiveDocument.all.tags("table").Item(0)
With objTable
.Border = "7" 'Indicates the thickness of the border in pixels.
.borderColorLight = "blue"
.borderColorDark = "navy"
End With
End Sub
Applies to | FPHTMLTable Object | FPHTMLTableCell Object | FPHTMLTableRow Object | IHTMLTable Object | IHTMLTableCell Object | IHTMLTableRow Object