[Table of Contents] [docx version]

Error! No text of specified style in document.

ST_AlignH (Relative Horizontal Alignment Positions)

This simple type contains the possible settings specifying how a DrawingML object may be horizontally aligned relative to the horizontal alignment base defined by the parent element.

[Example: Consider a picture in a WordprocessingML document which has been aligned relative to the edge of the page - the left of the page horizontally, and the top of the page vertically. This alignment would be specified as follows:

<wp:anchor … >
<wp:positionH relativeFrom="page">
<wp:align>left</wp:align>
</wp:positionH>

</wp:anchor>

The align element with a value of left specifies that for the horizontal positioning defined by the parent element (in this case, positioning relative to the page), the picture shall be aligned to the left edge of the page. end example]

This simple type's contents are a restriction of the XML Schema token datatype.

The following are possible enumeration values for this type:

Enumeration Value

Description

center (Center Alignment)

Specifies that the object shall be centered with respect to the horizontal alignment base.

 

[Example: Centered on the page. end example]

inside (Inside)

Specifies that the object shall be inside of the horizontal alignment base.

 

[Example: Inside the outside margin. end example]

left (Left Alignment)

Specifies that the object shall be left aligned to the horizontal alignment base.

 

[Example: Left aligned relative to the margins. end example]

outside (Outside)

Specifies that the object shall be outside of the horizontal alignment base.

 

[Example: Outside the left margin. end example]

right (Right Alignment)

Specifies that the object shall be right aligned to the horizontal alignment base.

 

[Example: Right aligned relative to the margins. end example]

 

Referenced By

align5.5.2.1)