HasWidth Method

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

Description

Returns true if the Width property has a value.

Syntax

object.HasWidth

object

Required. Object name, returned by Text.GetTableColumn.

Example

This script increment the width of the selected column(s) for 1pt.

Dim objTableCol = Text.GetTableColumn

if objTableCol.HasWidth then

 objTableCol.Width = objTableCol.Width + 1000

end if

Text.SetTableColumn (objTableCol)