TableFields.Add Method (Project)

Adds a TableField object to a TableFields collection.

Syntax

expression. Add( _Field_, _AlignData_, _Width_, _Title_, _AlignTitle_, _Before_, _AutoWrap_ )

expression A variable that represents a 'TableFields' object.

Parameters

Name Required/Optional Data Type Description
Field Required Long The name of the table field. Can be one of the PjField constants.
AlignData Optional Long The alignment of the table data. Can be one of the PjAlignment constants. The default value is pjRight.
Width Optional Long The width of the table field in points. The default value is 10.
Title Optional String The title of the table field.
AlignTitle Optional Long The alignment of the title. Can be one of the PjAlignment constants. The default value is pjCenter.
Before Optional Long Position of the title. The default value is -1.
AutoWrap Optional Boolean True if the data in the table field automatically wrap. The default value is True.

Return Value

TableField

See also

TableFields Collection Object