# Image Rendering Reference

## Navigation:

Index General Information Elements Utils Examples

## Single and Multi Line Example

This example shows the difference between the label tag (single lines only) and the text tag (multi-lines with auto-wrapping). It also shows how letter spacing changes the text output.

- Template: templates/example4.xsl
- Record: records/empty.xml

## Single and Multi Line Example (Template)

<xsl:stylesheet version="2.0" >
<xsl:template match="Record" >
<image height="300" width="400" >
<field x="10" y="20" width="200" height="105" >
<label font-size="16" font-weight="bold" align="center" text-decoration="underline" padding-bottom="15" >
Single Line label
</label>
<text font-size="14" align="right" line-spacing="8" >
Multi-line text with automatic wrapping, if the text does not fit into one line
</text>
</field>
<field x="10" y="180" width="300" height="100" >
<text letter-spacing="0" >
Normal letter spacing
</text>
<text letter-spacing="-0.08" >
Negative letter spacing
</text>
<text letter-spacing="0.5" >
Positive letter spacing
</text>
</field>
</image>
</xsl:template>
</xsl:stylesheet>

## Generated Image