HasRuleGray Method

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

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)