VisDistributeTypes Constants

Visio Automation Reference

Shape distribution types.

Remarks

These constants correspond to the options available in the Distribute Shapes dialog box. (Select three or more shapes, and on the Shape menu, click Distribute Shapes.)

Constant Value Description

visDistHorzCenter

2

Distributes shapes hoirzontally so that their bottom edges are uniformly spaced.

visDistHorzLeft

1

Distributes shapes horizontally so that their left edges are uniformly spaced.

visDistHorzRight

3

Distributes shapes horizontally so that their right edges are uniformly spaced.

visDistHorzSpace

0

Distributes shapes horizontally so that there is a uniform space between shapes.

visDistVertBottom

7

Distributes shapes vertically so that their bottom edges are uniformly spaced.

visDistVertMiddle

6

Distributes shapes vertically so that their centers are uniformly spaced.

visDistVertSpace

4

Distributes shapes vertically so that there is a uniform space between shapes.

visDistVertTop

5

Distributes shapes vertically so that their top edges are uniformly spaced.