Example: TEXT element
A heading, (left-aligned) in red bold italics, is placed on a page of A4 paper. The baseline for the heading is at the TOP.
A paragraph of text, right-aligned (in black) is placed with its baseline 2 cm further down the page on a grey background.
An "EXAMPLE" sticker is simulated using rotated text and a rectangular box shape.
<IDF UNITS = "INCHES" PAPER="A4"> <PAGE TOP="1" LEFT="0.5" WIDTH="7.25" HEIGHT="9" > <TEXT STRING="IDF syntax" COLOUR=red FONT="Arial" WEIGHT="3" STYLE="1" /> <TEXT TOP="2.00cm" ALIGN="RIGHT" FILL="90,90,90" >IDF is a way of describing in XML <TEXT STRING="EXAMPLE" COLOUR="50,50,100" FONT="Arial" FONTSIZE="14 PT"WEIGHT="3" TOP="1" LEFT="2" ROTATE="22.5 DEGREES"/> <GROUP LEFT="1.5" TOP="1" WIDTH="2" HEIGHT="0.25" SHAPE="BOX" ROTATE="22.5 DEGREES"/> </PAGE> </IDF> |