setBorderColor Method

Microsoft FrontPage Visual Basic

setBorderColor Method

Sets the border color for a layout cell or cell formatting table.

expression.setBorderColor(pszType, pszVal)

expression    Required. An expression that returns an FPLayoutRegion object.

pszType    Required String. Specifies which border. Can be one of the following String values: "all", "top", "bottom", "left", "right", "header" and "footer".

pszVal    Required String. Specifies the color value. Can be any Web safe color value (for example, "#FFFFFF") or a named color value (for example, "red").

Remarks

Use the getBorderColor method to get the value of the color of a border for a layout cell or cell formatting table.