-
-
Notifications
You must be signed in to change notification settings - Fork 72
Text Positioning
The textxalign option is used to specify where to horizontally position the text.
Data: Test
Options: includetext alttext=Test layers=8 textxalign=offleft
Encoder: azteccode
Data: Test
Options: includetext alttext=Test layers=8 textxalign=left
Encoder: azteccode
Data: Test
Options: includetext alttext=Test layers=8 textxalign=center
Encoder: azteccode
Data: Test
Options: includetext alttext=Test layers=8 textxalign=right
Encoder: azteccode
Data: Test
Options: includetext alttext=Test layers=8 textxalign=offright
Encoder: azteccode
The textyalign option is used to specify where to vertically position the text.
Data: Test
Options: includetext alttext=Test layers=8 textxalign=offright textyalign=below
Encoder: azteccode
Data: Test
Options: includetext alttext=Test layers=8 textxalign=offright textyalign=bottom
Encoder: azteccode
Data: Test
Options: includetext alttext=Test layers=8 textxalign=offright textyalign=center
Encoder: azteccode
Data: Test
Options: includetext alttext=Test layers=8 textxalign=offright textyalign=top
Encoder: azteccode
Data: Test
Options: includetext alttext=Test layers=8 textxalign=offright textyalign=above
Encoder: azteccode
The textdirection option is used to specify in which direction to orient text.
Data: Test
Options: includetext alttext=Test layers=8 textdirection=forward
Encoder: azteccode
Data: Test
Options: includetext alttext=Test layers=8 textdirection=backward
Encoder: azteccode
Data: Test
Options: includetext alttext=Test layers=8 textxalign=offright
textyalign=center textdirection=upward
Encoder: azteccode
Data: Test
Options: includetext alttext=Test layers=8 textxalign=offright
textyalign=center textdirection=downward
Encoder: azteccode
The horizontal position of the text in points relative to the leftmost bar or modules.
Data: TEST
Options: includetext textxalign=center textxoffset=-40
Encoder: code39
The vertical position of the text in points relative to the base of the bars or modules.
Data: TEST
Options: includetext textyoffset=-20
Encoder: code39
- By default (in the absence of textxalign or textyalign), each character of text is placed immediately below the corresponding modules where this is possible.
- Where there isn't such a direct relationship then the default is to position the text centrally beneath the symbol.
Any extra text can be positioned using the extratextxalign, extratextyalign, extratextdirection, extratextxoffset and extratextyoffset options that function the same as their textxalign, textyalign, textdirection, textxoffset and textyoffset analogues.
Home | Download | Documentation (PDF) | Source | Support | Issues | Online Barcode Generator