iText - placing barcode

Discussion in 'Java' started by =?ISO-8859-2?Q?Przemys=B3aw?= Klein, Mar 10, 2005.

  1. Hi All,

    I have a question connected with iText PDF library. I want to add barcode in generated document. I know how to generate it properly, and I know that I have to position it absolutely. But how to guess proper coordinates? Below is a snippet of my code:

    // my pdf document
    Document pdfDoc = new Document();
    [...]
    // add some table
    PdfPTable t1 = new PdfPTable(3);
    // add some chunk
    pdfDoc.add(new Chunk("sample chunk"));
    // few other pdf elements
    [...]

    And then I want to put my barcode? What are current positions of generated elements?

    TIA,
    Przemek
     
    =?ISO-8859-2?Q?Przemys=B3aw?= Klein, Mar 10, 2005
    #1
    1. Advertisements

  2. =?ISO-8859-2?Q?Przemys=B3aw?= Klein

    nooobody Guest

    Przemys³aw Klein wrote:
    > Hi All,
    >
    > I have a question connected with iText PDF library.


    I don't have an answer to your question, but if noone else here has
    one, you could try posting it to gmane.comp.java.lib.itext.general
     
    nooobody, Mar 11, 2005
    #2
    1. Advertisements

  3. On Fri, 11 Mar 2005 06:02:54 GMT
    "nooobody" <> wrote:

    > Przemys³aw Klein wrote:
    > > Hi All,
    > >
    > > I have a question connected with iText PDF library.

    >
    > I don't have an answer to your question, but if noone else here has
    > one, you could try posting it to gmane.comp.java.lib.itext.general
    >
    >


    Thanks. I'll try it.

    Przemek
     
    Przemek Klein, Mar 11, 2005
    #3
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Marty

    Itext Templates

    Marty, Aug 13, 2003, in forum: Java
    Replies:
    2
    Views:
    9,991
    SkippyFire
    Mar 5, 2010
  2. Chris

    iText HTML->PDF Problems

    Chris, Apr 16, 2004, in forum: Java
    Replies:
    2
    Views:
    7,383
    Chris
    Apr 19, 2004
  3. Daniel

    pdf-forms using iText

    Daniel, Jun 9, 2005, in forum: Java
    Replies:
    0
    Views:
    670
    Daniel
    Jun 9, 2005
  4. Tim
    Replies:
    6
    Views:
    12,194
  5. Ingo R. Homann

    [iText] template or watermark

    Ingo R. Homann, Aug 2, 2005, in forum: Java
    Replies:
    0
    Views:
    3,746
    Ingo R. Homann
    Aug 2, 2005
  6. John Smith

    iText - Out of Memory Issues

    John Smith, Sep 15, 2005, in forum: Java
    Replies:
    5
    Views:
    4,668
    Roedy Green
    Sep 23, 2005
  7. Ingo R. Homann

    [iText] MultiColumnText

    Ingo R. Homann, Sep 21, 2005, in forum: Java
    Replies:
    1
    Views:
    1,170
    Ingo R. Homann
    Sep 21, 2005
  8. Ingo R. Homann

    [iText] compression

    Ingo R. Homann, Feb 28, 2006, in forum: Java
    Replies:
    1
    Views:
    776
    Rhino
    Feb 28, 2006
Loading...