Element text align

LANSA Integrator

Element - text-align

The text-align element is used to add aligned text to the current page.

Text align works by using the x1, y1 as a point around which the text aligns.

By default, x1 is the page width divided by 2 and y1 is the page height divided by 2. This means that the default alignment point is the center of the page.

Syntax:

Element

Attributes

Value

Notes for Element/Attribute/Value

text-align

x1

integer

Default. Page width / 2.

y1

integer

Default. Page height / 2.

value

string

Text

align

left

Default.

center

 

right

 

rotation

integer

Default. 0.

style

style

Default. Helvetica, 10, normal.

 

Example

 

<text-align y1="400" align="center" value="heading"/>

 

<text-align style="gray" value="Blank Page" align="center" rotation="90"/>