X Element
Visio XML Reference |
Specifies an x-coordinate on a shape in local coordinates. The following table describes the X element based on the element that contains it.
Element |
Description of X element |
---|---|
Scratch |
A general-purpose scratch element. |
MoveTo |
If the MoveTo element is the first element in the section, the X element represents the x-coordinate of the first vertex of a path. If the MoveTo element appears between two elements, the X element represents the x-coordinate of the first vertex after the break in the path. |
LineTo |
The x-coordinate of the ending vertex of a straight line segment. |
ArcTo |
The x-coordinate of the ending vertex of an arc. |
EllipticalArcTo |
The x-coordinate of the ending vertex of an elliptical arc. |
PolylineTo |
The x-coordinate of the ending vertex of a polyline. |
NURBSTo |
The x-coordinate of the last control point of a nonuniform rational B-spline (NURBS). |
SplineStart |
The x-coordinate of a spline's second control point. |
SplineKnot |
The x-coordinate of a control point. |
InfiniteLine |
An x-coordinate of a point on the infinite line. |
Ellipse |
The x-coordinate of the center of the ellipse. |
Connection |
The x-coordinate for a connection point. |
ConnectionABCD |
The x-coordinate for a connection point. |
Control |
The x-coordinate that indicates the location of a shape's control handle. |
Annotation |
The x-coordinate of the comment marker in page coordinates. |
SmartTagDef |
The x-coordinate position in the shape's local coordinates around which the smart tag button is placed. |
Syntax
|
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 | X |
Minimum Occurrences | 0 |
Maximum Occurrences | 1 |
Element information
Parent elements
Child elements
None
Remarks
The X 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
X cell (Connection Points section)
X cell (Controls section)
X cell (Geometry section)
Xcell (Annotation section)
Xcell (Smart Tags section)