RuleGray Property

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

Description

The tint percentage of the horizontal rule under the tabulation row.

You can set the horizontal rule shade on a table level with the HRuleGray 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.RuleGray [ =iTint ]

object

Required. Object name, returned by Text.GetTableRow.

iTint

Color percentage 0 - 100.

Examples

This script increments the tint of the vertical rules in the selected row(s) for 10. If it is 100, then it restarts from 0.

Dim objTableRow = Text.GetTableRowumn

if objTableRow.HasRuleGray then

 objTableRow.RuleGray = objTableRow.RuleGray + 10

 if objTableRow.RuleGray = 110 then

         objTableRow.RuleGray = 0

 end if

end if

Text.SetTableRow (objTableRow)

See also

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

DrawHrule, DrawVRule on the cell level.