ShapeRouteStyle Cell (Shape Layout Section)
Determines the routing style and direction for a selected connector on the drawing page.
Value |
Routing style |
Direction |
Automation constant |
---|---|---|---|
0 |
Use page default |
None |
visLORouteDefault |
1 |
Right angle |
None |
visLORouteRightAngle |
2 |
Straight |
None |
visLORouteStraight |
3 |
Organization chart |
Top to bottom |
visLORouteOrgChartNS |
4 |
Organization chart |
Left to right |
visLORouteOrgChartWE |
5 |
Flowchart |
Top to bottom |
visLORouteFlowchartNS |
6 |
Flowchart |
Left to right |
visLORouteFlowchartWE |
7 |
Tree |
Top to bottom |
visLORouteTreeNS |
8 |
Tree |
Left to right |
visLORouteTreeWE |
9 |
Network |
None |
visLORouteNetwork |
10 |
Organization chart |
Bottom to top |
visLORouteOrgChartSN |
11 |
Organization chart |
Right to left |
visLORouteOrgChartEW |
12 |
Flowchart |
Bottom to top |
visLORouteFlowchartSN |
13 |
Flowchart |
Right to left |
visLORouteFlowchartEW |
14 |
Tree |
Bottom to top |
visLORouteTreeSN |
15 |
Tree |
Right to left |
visLORouteTreeEW |
16 |
Center to center |
None |
visLORouteCenterToCenter |
17 |
Simple |
Top to bottom |
visLORouteSimpleNS |
18 |
Simple |
Left to right |
visLORouteSimpleWE |
19 |
Simple |
Bottom to top |
visLORouteSimpleSN |
20 |
Simple |
Right to left |
visLORouteSimpleEW |
21 |
Simple horizontal-vertical |
None |
visLORouteSimpleHV |
22 |
Simple vertical-horizontal |
None |
visLORouteSimpleVH |
Remarks
You can also set the value of this cell for a particular connector on the Connector tab in the Behavior dialog box (with a connector selected, click Behavior on the Developer tab, and then click the Connector tab).
To set this behavior for all the connectors on a page, use the RouteStyle cell in the Page Layout section.
In versions earlier than Visio 2000, you set this behavior using the ObjBehavior cell in the Miscellaneous section.
To get a reference to the ShapeRouteStyle cell by name from another formula, or from a program using the CellsU property, use:
Cell name: |
ShapeRouteStyle |
To get a reference to the ShapeRouteStyle cell by index from a program, use the CellsSRC property with the following arguments:
Section index: |
visSectionObject |
Row index: |
visRowShapeLayout |
Cell index: |
visSLORouteStyle |