Description
Returns true if the RuleGray property has a value.
Syntax
object.HasRuleGray |
object
Required. Object name, returned by Text.GetTableRow
Example
This script uses the HasRuleGray function to determine if it is possible to increment 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)