BoxAlign Method

Aligns the specified part of the selected boxes in the active Network Diagram with the same part of the box with the focus.

Syntax

expression**.BoxAlign(Alignment)**

*expression   * Optional. An expression that returns an Application object.

PjAlign

Constant Description
pjAlignLefts Aligns the left edges of the boxes.
pjAlignCenters Aligns the boxes vertically.
pjAlignRights Aligns the right edges of the boxes.
pjAlignTops Aligns the top edges of the boxes.
pjAlignMiddles Aligns the boxes horizontally.
pjAlignBottoms Aligns the bottom edges of the boxes.

Remarks

If only one box is selected, the BoxAlign method has no effect.

Applies to | Application Object

See Also | BoxLayout Method | BoxSet Method