ShapeRange.Align Method (Project)

The Align method is not implemented in Project.

Syntax

expression. Align (AlignCmd, RelativeTo)

expression A variable that represents a 'ShapeRange' object.

Return value

Nothing

Remarks

In general for applications that implement Office Art, the Align method aligns the shapes contained in the shape range. Project does not support automatic distribution or alignment of shapes in a report.

If you try to use the Align method, such as sRange1.Align msoAlignMiddles, msoFalse, you get run-time error &;H80070057, "The specified value is out of range."

See also

ShapeRange Object