RuleColor Property

Build 1501 on 14/Nov/2017  This topic last edited on: 23/Mar/2016, at 12:25

Description

The name of the color of the horizontal rule under the tabulation row.

You can set the horizontal rule color on a table level with the HRuleColor property.

You can turn off the horizontal rule below a single cell with the DrawHRule property.

To set left and top borders of the cells in the first column/first row, use ExtRuleColor, ExtRuleGray, ExtRuleDash, ExtRuleWidth. Same properties are used to set the right and bottom borders of the external cells, and if set, supersede the column, row and cell-level settings.

Syntax

object.RuleColor [ =strColorName ]

object

Required. Object name, returned by Text.GetTableRow.

strColorName

Color name.

Example

This script sets the color of vertical rules to Magenta.

Dim objTableRow = Text.GetTableRow

objTableRow.RuleColor = "M"

Text.SetTableRow (objTableRow)

See also

HRuleColor HruleDash, HRuleGray, HRuleInside, HRuleWidth on a table level.

DrawHrule, DrawVRule on the cell level.