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

ShapeRange.Distribute Method (Project)

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

The Distribute method is not implemented in Project.


expression. Distribute(DistributeCmd,RelativeTo)

expression A variable that represents a ShapeRange object.

Return value



In general for applications that implement Office Art,, the Distribute method evenly distributes 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 Distribute method, such as sRange1.Distribute msoDistributeHorizontally, msoFalse, you get run-time error &;H80070057, "The specified value is out of range."

See also

Other resources

ShapeRange Object

© 2018 Microsoft