Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » iText »

[iText-questions] centering of text

Dan Adams

2006-09-20

Replies:

Okay, so I'm trying to produce a PDF of a greeting card that will be
sent to a printer. What I have is the dimensions of the card, what text
to put on the card, and then the exact coordinates of the area on the
card in which to put the text. So I need to create an area on the pdf at
the exact position specified and then take the text and center it
horizontally and vertically within that area. Anyone have any
suggestions on the best way to do this and how to get started? Thanks.

--
Dan Adams
Senior Software Engineer
Interactive Factory
617.235.5857


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
iText-questions mailing list
iText-questions@(protected)
https://lists.sourceforge.net/lists/listinfo/itext-questions
©2008 junlu.com - Jax Systems, LLC, U.S.A.