Hello, I have text that I'm getting from a database with absolute coordinates as well as rotation and alignment information. I trying to use iText to create a PDF that uses this information. I am able to position the text with the rotation and fonts that I desire using the PdfContentByte, however, I run into trouble with the alignment.
What I want is for my text to be aligned within a specifically sized box that I get from the database, not necessarily aligned with relation to the entire page. What I'm getting, however, doesn't look like its aligning relative to the whole page anyway. My other option would be to pad the text with spaces to simulate the alignment when I place it on the page and just align everything to the left, but it seems to be stripping off the spaces. Does anyone know either 1) how I force the alignment to be within coordinates I specifiy or 2) how I can prevent it from stripping the spaces? Thanks. Lisa ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions
