# Align Element

Indicates the alignment of a shape with respect to the guide or guide point to which the shape is glued. The Align element appears only for shapes that are glued to guides or guide points.

## Syntax

    <Align
        [Del]>
    </Align>

## Attributes

Del

Optional boolean. A flag indicating that the element is deleted locally.

## Element properties

Property | Value
--- | ---
Name | Align
Minimum Occurrences | 0
Maximum Occurrences | 1

## Element information

Parent elements

PageSheet

Shape

StyleSheet

DocumentSheet

Child elements

AlignLeft

AlignCenter

AlignRight

AlignTop

AlignMiddle

AlignBottom

## Remarks

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

## Example

The following example of the Align element and its child elements describes a square that is glued to GuideX. The formulas contained in the F attribute for the AlignLeft and AlignMiddle elements are edited for purposes of this example.

    <Align>
       <AlignLeft F="IntersectX(Sheet.3!PinX,...)">1.5</AlignLeft>
       <AlignCenter F="_Marker(1)">1</AlignCenter>
       <AlignRight F="_Marker(1)">1</AlignRight>
       <AlignTop F="_Marker(1)">1</AlignTop>
       <AlignMiddle F="IntersectY(Sheet.3!PinX, ...)">5.75</AlignMiddle>
       <AlignBottom F="_Marker(1)">1</AlignBottom>
    </Align>

## See also

Alignment section

©2003-2004 Microsoft Corporation. All rights reserved. Permission to copy, display and distribute this document is available at: http://msdn.microsoft.com/library/en-us/odcXMLRef/html/odcXMLRefLegalNotice.asp