Share via


<LineJumpCode> element

<LineJumpCode> element

This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.

Determines the dynamic connectors to which you want to add jumps.

Value

Description

0

None.

1

Horizontal lines.

2

Vertical lines.

3

Last routed line.

4

Last displayed line (top shape in thedisplay order).

5

First displayed line (shape at the bottom of the display order).

Syntax

  <LineJumpCode
      [Unit = "unitval"]
      [F = "formula"]
      [Err = "error"]>
  </LineJumpCode>

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 the string "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 information

Parent elements:

PageLayout

Child elements:

None

Remarks

The LineJumpCode specifies the default behavior for a page. This behavior can be overridden by the ConLineJumpCode element, which specifies jump behavior for a specific shape.

In XML for Visio, display order is determined by the order of Shape elements within the Page element. The bottom of the display order shows the shape that was displayed first.

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

Example

In the following example, the LineJumpStyle element is 6, and the LineJumpCode element is 1, so when two connector lines cross on a page, a four-sided line jump will be added to the horizontal segment of a dynamic connector.

This code example has been excerpted for clarity.

  <PageLayout>
<LineJumpCode>1</LineJumpCode><LineJumpStyle>6</LineJumpStyle><PageLineJumpDirX>0</PageLineJumpDirX><PageLineJumpDirY>0</PageLineJumpDirY><LineToNodeX>0.125</LineToNodeX><LineToNodeY>0.125</LineToNodeY><BlockSizeX>0.25</BlockSizeX><BlockSizeY>0.25</BlockSizeY><AvenueSizeX>0.375</AvenueSizeX><AvenueSizeY>0.375</AvenueSizeY><LineToLineX>0.125</LineToLineX><LineToLineY>0.125</LineToLineY><LineJumpFactorX>0.66666666666667</LineJumpFactorX><LineJumpFactorY>0.66666666666667</LineJumpFactorY></PageLayout>

See also

LineJumpCode cell (Page Layout section)