41
ESL User Manual
A.5 Adding Images
An image (fixed or dynamic) can be added to the template using the following format:
<Object>
<Image>
<File>Templates\demo.bmp</File>
<X>173</X>
<Y>33</Y>
</Image>
</Object>
•
<Condition>
(optional) Displaying conditions
•
<File>
Image file path (absolute or relative to working directory)
•
<X> <Y>
Coordinates of the upper-left corner of the image
A.6 Adding Barcodes
Almost any type of barcode can be added to the template using the following format:
<Object>
<Barcode>
<Content>%2%</Content>
<Type>1</Type>
<Color>0</Color>
<X>50</X>
<Y>80</Y>
<Width>100</Width>
<Height>20</Height>
<HAlignment>CENTER</HAlignment>
<VAlignment>BOTTOM</VAlignment>
</Barcode>
</Object>
•
<Condition>
(optional) Displaying conditions
•
<Content>
Content of the barcode
•
<Color>
Foreground Color (0=Black; 1=White)
•
<Type>
Specifies the bar code type (See list below)
•
<X> <Y> <Width> <Height> Specifies which rectangle to render a barcode
•
<HAlignment>
Horizontal alignment (LEFT, CENTER or RIGHT)
•
<VAlignment>
Vertical alignment (TOP, BOTTOM)