HasAdd Method

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

Description

Returns true if the Add property has a value.

Syntax

object.HasAdd

object

Required. Object name, returned by Text.GetTableRow

Example

 

This script uses the HasAdd function to find out if it is possible to increment the maximum vertical space that can be added above the tabulation row when vertically justifiyng the whole text for 1pt.

Dim objTableRow Text.GetTableRow

if objTableRow.HasAdd then

 objTableRow.Add = objTableRow.Add + 1000

end if

Text.SetTableRow (objTableRow)