HasTopAdd Method

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

Description

Returns true if the TopAdd property has a value.

Syntax

object.HasTopAdd

object

Required. Object name, returned by Text.GetTableCell.

Example

This script uses HasTopAdd to determine if it is possible to increment the maximum space that can be added above the text of the cell when vertically justifiyng the cell itself for 1pt;

Dim objTableCell = Text.GetTableCell

If objTableCell.HasTopAdd then

 objTableCell.TopAdd = objTableCell.TopAdd + 1000

end if

Text.SetTableCell (objTableCell)