Placement parameters

Placement formats are used by barcode and text commands in very similar way. This section uses primarily the barcode command in examples, however, unless otherwise noted, the command syntax for the  text command is identical.

See alignment types for illustration of the following parameters.

Terminology

Target

Distinct feature of PDF page relatively to which barcode or text are positioned.  It can be:

The whole page, anchor, footer, header, previously placed element.

Element

Barcode or text positioned on a page.

Alignment point

One of the following locations on a target or an element and their identification values.

topleft, tl, lt

Top left

topcenter, tc, ct

Top center

topright, tr , rt

Top right

bottomleft, bl, lb

Bottom left

bottomcenter, bc, cb

Bottom center

bottomright, br, rb

Bottom right

center, c

Center

centerleft, cl, lc

Left center

centerright, cr, rc

Right center

 

TargetAP

Alignment point on a target

ElementAP

Alignment point on a element,

Alignment

Identifies  how to position an element relatively to a target.  Specified as:
TargetAP:ElementAP,   e.g.  topleft:topleft places barcode in the top left corner of a page.

Margin

Distance from the edge of the page to the corresponding edge of the element.  
Positive value denotes position of the element:

  • To the right of left edge

  • To the left of the right edge

  • Down from the top edge

  • Up from the bottom edge

Offset

Shift of ElementAP in respect to TargetAP in specified direction: left, up, right, down
Negative value indicates offset in the opposite direction.