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. Advertising

  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. Advertising

  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. Advertising

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,664
    SkippyFire
    Mar 5, 2010
Loading...

Share This Page