TableFields.Add Method
Project Developer Reference |
Adds a TableField object to 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