[
http://jira.jboss.com/jira/browse/JBSEAM-2274?page=all ]
Norman Richards closed JBSEAM-2274.
-----------------------------------
Resolution: Done
Thanks.
Examples & Documentation for using Seam iText Barcode
-----------------------------------------------------
Key: JBSEAM-2274
URL:
http://jira.jboss.com/jira/browse/JBSEAM-2274
Project: JBoss Seam
Issue Type: Patch
Components: PDF
Affects Versions: 2.0.0.GA
Environment: JBoss 4.2.1.GA
Reporter: Joshua Partogi
Assigned To: Norman Richards
Fix For: 2.0.1.GA
Attachments: barcode_example.jpg
Page 79
Chapter 16.3
Seam 2.0.0.GA
1. It should be <p:barCode> not <p:barcode>
2. Attributes:
type - The barcode type. Available types are
* code128
* code39
* codabar
* ean
* inter25
* postnet
code - The code to generate
codeType - The code type
xpos - The x coordinate to place the barcode. The data type is float.
ypos - The y coordinate to place the barcode. Remember that zero coordinate starts from
the bottom of the page. The data type is float.
rotDegrees - The rotation degrees to rotate the barcode. The data type is float.
barHeight - The bar height. The data type is float.
textSize - The text size. The data type is float.
minBarWidth - The minimum bar width. The data type is float.
barMultiplier - The bar multiplier for wide bars or the distance between bars for Postnet
and Planet. The data type is float.
3. Usage:
<p:document
xmlns:p="http://jboss.com/products/seam/pdf">
<p:barCode type="code128" code="SeamRocks" xpos="30"
ypos="700" textSize="100"
rotDegrees="30" barHeight="25" minBarWidth="0.8"
barMultiplier="15"/>
</p:document>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira