Element Path: <cwt><TICKET><margin>
The margin sub-element is used to define the margins around the rendering area of the ticket where no rendering takes place.
attributes
left
Description: | Defines the left margin of the ticket in pixels. |
right
Description: | Defines the right margin of the ticket in pixels. |
top
Description: | Defines the top margin of the ticket in pixels. |
bottom
Description: | Defines the bottom margin of the ticket in pixels. |
Example:
Set-up where a ticket is defined to have a left and a right margin of 20 pixels each while the top and bottom margins are 10 pixels each:
<TICKET ticketId="1" height="300" width="380" orientation="Landscape"
layout="Sample ticket">
<margin left="20" right="20" top="10" bottom="10"/>
</TICKET>