Share via


Y Element [Visio 2003 SDK Documentation]

Specifies a y-coordinate on a shape in local coordinates. Local coordinates are those whose frame of reference is the shape, instead of the page.

The following table describes the Y element based on the element that contains it.

Element

Description of the Y element

Scratch

A general-purpose scratch element.

MoveTo

If the MoveTo row is the first row in the section, the Y element represents the y-coordinate of the first vertex of a path. If the MoveTo element appears between two elements, the Y element represents the y-coordinate of the first vertex after the break in the path.

LineTo

The y-coordinate of the ending vertex of a straight line segment.

ArcTo

The y-coordinate of the ending vertex of an arc.

EllipticalArcTo

The y-coordinate of the ending vertex of an elliptical arc.

PolylineTo

The y-coordinate of the ending vertex of a polyline.

NURBSTo

The y-coordinate of the last control point of a nonuniform rational B-spline (NURBS).

SplineStart

The y-coordinate of a spline's second control point.

SplineKnot

The y-coordinate of a control point.

InfiniteLine

A y-coordinate of a point on the infinite line.

Ellipse

The y-coordinate of the center of the ellipse.

Connection

The y-coordinate for a connection point.

ConnectionABCD

The y-coordinate for a connection point.

Control

The y-coordinate that indicates the location of a shape's control handle.

Annotation

The y-coordinate of the comment marker in page coordinates.

SmartTagDef

The y-coordinate position in the shape's local coordinates around which the smart tag button is placed.

Syntax

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

Attributes

Unit

Optional string. Represents a unit of measure. The default is DL. For details about DL, 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
Minimum Occurrences
Maximum Occurrences

Element information

Parent elements

Scratch

Connection

ConnectionABCD

Control

MoveTo

LineTo

ArcTo

InfiniteLine

Ellipse

EllipticalArcTo

SplineStart

SplineKnot

PolylineTo

NURBSTo

Annotation

SmartTagDef

Child elements

None

Remarks

The Y element is relevant only when contained in a DocumentSheet (if it is contained in a Scratch element), PageSheet (if it is contained in a Scratch element, SmartTagDef element, or Annotation element), or Shape element. It is ignored when contained in a StyleSheet element.

See also

Y cell (Connection Points section)

Y cell (Controls section)

Y cell (Geometry section)

Y cell (Annotation section)

Y cell (Smart Tags section)