Table of contents
TOC
Collapse the table of content
Expand the table of content

TableFields.Add Method (Project)

office 365 dev account|Last Updated: 6/12/2017
|
1 Contributor

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

NameRequired/OptionalData TypeDescription
FieldRequiredLongThe name of the table field. Can be one of the PjField constants.
AlignDataOptionalLongThe alignment of the table data. Can be one of the PjAlignment constants. The default value is pjRight.
WidthOptionalLongThe width of the table field in points. The default value is 10.
TitleOptionalStringThe title of the table field.
AlignTitleOptionalLongThe alignment of the title. Can be one of the PjAlignment constants. The default value is pjCenter.
BeforeOptionalLongPosition of the title. The default value is -1.
AutoWrapOptionalBooleanTrue if the data in the table field automatically wrap. The default value is True.

Return Value

TableField

See also

Concepts

TableFields Collection Object

© 2018 Microsoft