Hi
 
i used the PageEvent example in iText to display Page 1 of 1. however i want to align 
it to the right, using showTextAligned though doesnt work automatically since you have 
to specify the x and y coordinates.
 
how do you get the pagesize of the document? using document.getPageSize()? coz i tried 
this and subtracted it with the length of the string using 
bf.getWidthPoint(stringObject, 12)
 
but it doesnt really get aligned to the right
 
my pagesize is this by the way Document document = new Document(PageSize.LETTER, 18, 
18, 18, 100);

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.509 / Virus Database: 306 - Release Date: 8/12/2003
 

<<winmail.dat>>

Reply via email to