Skip to main content

TdxLayoutAlignmentConstraint.AddItem(TdxCustomLayoutItem) Method

Adds a new element (item or group) to the Items list of the TdxLayoutAlignmentConstraint object.

Declaration

procedure AddItem(AItem: TdxCustomLayoutItem);

Parameters

Name Type
AItem TdxCustomLayoutItem

Remarks

Call the AddItem method to add an element (item or group) to the items list of an alignment constraint. The AItem parameter determines a specific item/group to associate with the TdxLayoutAlignmentConstraint object. After adding the item the AlignmentConstraint property of AItem will correspond to a given alignment constraint and the alignment constraint rule specified in the Kind property is applied to the element.

See Also