Share via


YCon Element [Visio 2003 SDK Documentation]

Specifies the type of behavior the y-coordinate of the control handle will exhibit after the handle is moved.

Value Description Behavior

0

Proportional

The control handle can be moved, and it also moves in proportion with the shape when it is stretched.

1

Proportional locked

The control handle moves in proportion with the shape, but the control handle itself cannot be moved.

2

Offset from bottom edge

The control handle is offset a constant distance from the bottom of the shape.

3

Offset from center

The control handle is offset a constant distance from the center of the shape.

4

Offset from top edge

The control handle is offset a constant distance from the top of the shape.

5

Proportional, hidden

Same as 0, but the control handle is not visible.

6

Proportional locked, hidden

Same as 1, but the control handle is not visible.

7

Offset from bottom edge, hidden

Same as 2, but the control handle is not visible.

8

Offset from center, hidden

Same as 3, but the control handle is not visible.

9

Offset from top edge, hidden

Same as 4, but the control handle is not visible.

Syntax

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

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 YCon 
Minimum Occurrences
Maximum Occurrences

Element information

Parent elements

Control

Child elements

None

Remarks

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

See also

Y Behavior cell (Controls section)