ShapeRouteStyle Element

Specifies the routing style and direction for a connector on the drawing page.

Value

Description

Direction

0

Page default

None

1

Right angle

None

2

Straight

None

3

Organization chart

Top to bottom

4

Organization chart

Left to right

5

Flowchart

Top to bottom

6

Flowchart

Left to right

7

Tree

Top to bottom

8

Tree

Left to right

9

Network

None

10

Organization chart

Bottom to top

11

Organization chart

Right to left

12

Flowchart

Bottom to top

13

Flowchart

Right to left

14

Tree

Bottom to top

15

Tree

Right to left

16

Center to center

None

17

Simple

Top to bottom

18

Simple

Left to right

19

Simple

Bottom to top

20

Simple

Right to left

21

Simple horizontal-vertical

None

22

Simple vertical-horizontal

None

Syntax

<ShapeRouteStyle
    [Unit]
    [F]
    [Err]>
</ShapeRouteStyle>

Attributes

Unit

Optional string. Represents a unit of measure. The default is NUM. For details about NUM, see Units of measure.

F

Optional string. Represents the element's formula. This attribute can contain one of the following strings: "someFormula" if the formula exists locally, "No Formula" if the formula is locally deleted or blocked, or "Inh" if the formula is inherited.

If the attribute is not present, the element's formula is a simple constant, for example, <element>5</element>.

Err

Optional string. Indicates that the formula evaluates to an error. The value of Err is the current value (an error message string); the value of the element is the last valid value.

Element properties

Property

Value

Name

ShapeRouteStyle

Minimum Occurrences

0

Maximum Occurrences

1

Element information

Parent elements

Layout

Child elements

None

To set the default behavior of all shapes on a drawing page, use the RouteStyle element contained in the PageLayout element.

The ShapeRouteStyle element is relevant only when contained in a Shape or StyleSheet element. It is ignored when contained in a DocumentSheet or PageSheet element.

See also

ShapeRouteStyle cell (Shape Layout section)