Description
Returns true if the RuleColor property has a value.
Syntax
object.HasRuleColor |
object
Required. Object name, returned by Text.GetTableRow
Example
This script sets the color of vertical rules to Cyan if it was Magenta, or to Magenta, if it was in any other color.
Dim objTableRow = Text.GetTableRow
if objTableRow.HasRuleColor then
if objTableRow.RuleColor = "M" then
objTableRow.RuleColor = "C"
else
objTableRow.RuleColor = "M"
end if
Text.SetTableRow (objTableRow)