[Table of Contents] [docx version]

VML Reference Material - VML

Anchor (Anchor)

This element specifies the anchor location for the object. This is a general-use element.

The value is a comma-separated list of data written out as: LeftColumn, LeftOffset, TopRow, TopOffset, RightColumn, RightOffset, BottomRow, BottomOffset.

Value

Description

LeftColumn

The left anchor column of the object (left-most column is 0). [Example: An object whose left anchor was off of the third column would have a LeftColumn value of 2. end example]

LeftOffset

The offset of the object's left edge from the left edge of the left anchor column. This value is measured in pixels.

TopRow

The top anchor row of the object (top-most column is 0). [Example: An object whose top anchor was off of the fifth row would have a TopRow value of 4. end example]

TopOffset

The offset of the object's top edge from the top edge of the top anchor row. This value is measured in pixels.

RightColumn

The right anchor column of the object (left-most column is 0). [Example: An object whose right anchor was off of the tenth column would have a RightColumn value of 9. end example]

RightOffset

The offset of the object's right edge from the left edge of the right anchor column. This value is measured in pixels.

BottomRow

The bottom anchor row of the object (top-most column is 0). [Example: An object whose bottom anchor was off of the tenth row would have a BottomRow value of 9. end example]

BottomOffset

The offset of the object's bottom edge from the bottom edge of the bottom anchor row. This value is measured in pixels.

 

[Example: The left side of the object is 15 pixels to the right of the left edge of the second column. The top edge is 2 pixels below the upper edge of the first row. The right side is 15 pixels to the right of the left edge of the fourth column. The bottom edge is 16 pixels below the top of the fourth row.

<x:ClientData … >
<x:Anchor>1, 15, 0, 2, 3, 15, 3, 16</x:Anchor>
</x:ClientData>

end example]

The possible values for this element are defined by the XML Schema string datatype.

Parent Elements

ClientData6.4.2.12)