The text is in the rectangle. writer.getDirectContentUnder().addImage() is part of "public void onGenericTag()" and the text is marked with "myChunk.setGenericTag()" ...
> Where is the text? > > > -----Original Message----- > > From: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED] On > > Behalf Of Andreas Meyer > > Sent: Tuesday, March 29, 2005 4:18 AM > > To: [email protected] > > Subject: [iText-questions] middle align background image with text > > > > Hi, > > > > I would like to align text precisely in the middle of a > > background image. I have > > tried it this way, but with no luck: > > > > writer.getDirectContentUnder().addImage(img, img.scaledWidth(), 0, 0, > > img.scaledHeight(), rect.left(), rect.bottom() - > > ((img.scaledHeight() - > > rect.height()) / 2)); > > > > Can you please tell me whats wrong ? > > > > > > > > ------------------------------------------------------- > > SF email is sponsored by - The IT Product Guide > > Read honest & candid reviews on hundreds of IT Products from > > real users. > > Discover which products truly live up to the hype. Start reading now. > > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click > > _______________________________________________ > > iText-questions mailing list > > [email protected] > > https://lists.sourceforge.net/lists/listinfo/itext-questions > > ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions
