This documentation is archived and is not being maintained.

LineJumpFactorX Element [Visio 2003 SDK Documentation]

Office 2003

Specifies the size of line jumps on horizontal segments of dynamic connectors on the page, as a percentage of the value of the LineToLineX element (which specifies the horizontal clearance between all connectors on the drawing page). The value of this element ranges from 0 to 10.

For example, if the LineToLineX element is specified as 0.1 inch, then a LineJumpFactorX value of 0.5 would give horizontal line jumps of .05 in., while a LineJumpFactorX value of 10 would give horizontal line jumps 1 in.

Syntax


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

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

PropertyValue
NameLineJumpFactorX
Minimum Occurrences0
Maximum Occurrences1

Element information

Parent elements

PageLayout

Child elements

None

Remarks

The LineJumpFactorX 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 LineJumpFactorX element is 0.6666666667, and the LineToLineX element is 0.125, so the jumps will be 2/3 of 0.125.

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

LineJumpFactorX cell (Page Layout section)



Show: