Text justification
<< Click to Display Table of Contents >> Navigation: Common vpxPrint tags > Justification and characters alignment > Text justification |
<CENTER> <RIGHT> <DECIMAL> <JUSTIFY>
</CENTER> </RIGHT> </JUSTIFY>
Additional tags: and
Syntax : <CENTER / RIGHT / DECIMAL / JUSTIFY = [ decimalValue (in <UNITS> values)
| +decimalValue
| #bookmark (until the bookmark column)
| CcolumnNumber
| C+columnNumberIncrement ]
- OR, IF A FRAME IS ACTIVE (<USE#n>) -
<CENTER>
<RIGHT>
<JUSTIFY>
Programming notes :
•The text after the tag will be justified within the area defined by the current point and the next tag, end of line or a form feed.
•The decimal value is expressed in the current units values, inches or millimeters.
•The current font is used
•The <#PAGES> tag does not interrupt the sequence and is understood as a standard text by vpxPrint.
•There is no need to specify </JUSTIFY>, </CENTER> or </RIGHT> after a frame close, this is done automatically by vpxPrint. These tags may be used to modify the justification within a frame.
<CENTER> and <RIGHT> allow to align images in an image frame. (10.26d)
Examples :
•<CENTER=C60>This is centered.
The string 'This is centered.' is centered within the area from the current point to column 60.
•<DECIMAL=12.5>999.99<B>123.45
The decimal point of the value 999.99 is aligned to 12.5 (inch or mm depending on the previous setting). Note that the <B> tag interrupts the text.
•<RIGHT=C+20>Right justification
The string 'Right justification' is right justified (current column + 20).
•<R10><C10><#10><R+10><C+20><FRAME#1><USE#1>
<JUSTIFY>This text is justified left and right within the frame. You don't need to stop the justification after the frame.</USE>