Description
Returns true if the Advance property has a value.
Syntax
object.HasAdvance (iIndex) |
object
Required. Object name, returned by Text.GetTableCell.
iIndex
0=top, 1=bottom, 2=left, 3=right.
Example
This script uses HasAdvance to determine if it is possible to increment the bottom margin of all selected cells for 1pt;
Dim objTableCell = Text.GetTableCell
If objTableCell.HasAdvance(1) then
objTableCell.Advance(1) = objTableCell.Advance(1) + 1000
end if
Text.SetTableCell (objTableCell)