ALIGN overrides the default LEFT, TOP (and BASELINE for text) positioning of items.

To specify a horizontal or vertical alignment only, use:

ALIGN="value"

where value can be:

LEFT 
RIGHT 
TOP 
BOTTOM 
CENTRE or CENTER (horizontally only) 
BASELINE (for textual items only) 
JUSTIFY (for textual items only) 

For example, ALIGN="centre" places the item centrally with its top at the TOP position, unless the item is text; in this case the text's baseline is aligned with the TOP position.

To specify a horizontal and vertical alignment, separate the two values with a comma:

ALIGN="value,value"

horizontal

vertical

LEFT

RIGHT

CENTRE or CENTER

JUSTIFY (for textual items only)

TOP

BOTTOM

CENTRE or CENTER 

In addition, you may specify BASELINE for textual items. This uses the leftmost point of the text's baseline to position the item instead of the top-left corner of the item.

Note that when ALIGN is used in conjunction with ROTATE, ALIGN is applied before ROTATE.

TEXT element example

Links:

Element TEXT