Please enable JavaScript to view this site.

CWT Software Configuration Handbook 4.40

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.

Ticket margins

attributes

 

left

Value:0–4294967295
Default:50
Description:Defines the left margin of the ticket in pixels.

right

Value:0–4294967295
Default:0
Description:Defines the right margin of the ticket in pixels.

top

Value:0–4294967295
Default:30
Description:Defines the top margin of the ticket in pixels.

bottom

Value:0–4294967295
Default:0
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>