HasRuleWidth Method

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

Description

Returns true if the RuleWidth property has a value.

Syntax

object.HasRuleWidth

object

Required. Object name, returned by Text.GetTableRow

Example

This script uses the HasRuleWidth function to determine if it is possible to increment the weight of the vertical rules in the selected row(s) for 0.25pt.

Dim objTableRow = Text.GetTableRow

if objTableRow.HasRuleWidth then

 objTableRow.RuleWidth = objTableRow.RuleWidth + 250

end if

Text.SetTableRow (objTableRow)