AcroFields.getFieldPositions() will get you the correct position even if
the page is rotated.

Paulo 

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On 
> Behalf Of R Herwig
> Sent: Tuesday, September 19, 2006 4:12 PM
> To: [email protected]
> Subject: [iText-questions] AcroField positions and footers
> 
> I have a rotated PDF page with a single iText text field 
> which I am stuffing with an image.  I notice however, after 
> rotating the field position (since the position is relative 
> to the un-rotated page) that the vertical coordinate is too 
> high.  I also notice that if I subtract the height of the 
> footer the image appears in the correct position (I just 
> guessed really).
> 
> 1. Are AcroField position coordinates relative to (0,0) or 
> does the footer come into play?
> 
> 2. If so, where/how can I get footer information? (since the 
> page is generated by a carbon-based life form off-site and 
> passed to my code).
> 
> Thanx, ~richard
> 
> 


Aviso Legal:
Esta mensagem é destinada exclusivamente ao destinatário. Pode conter 
informação confidencial ou legalmente protegida. A incorrecta transmissão desta 
mensagem não significa a perca de confidencialidade. Se esta mensagem for 
recebida por engano, por favor envie-a de volta para o remetente e apague-a do 
seu sistema de imediato. É proibido a qualquer pessoa que não o destinatário de 
usar, revelar ou distribuir qualquer parte desta mensagem. 

Disclaimer:
This message is destined exclusively to the intended receiver. It may contain 
confidential or legally protected information. The incorrect transmission of 
this message does not mean the loss of its confidentiality. If this message is 
received by mistake, please send it back to the sender and delete it from your 
system immediately. It is forbidden to any person who is not the intended 
receiver to use, distribute or copy any part of this message.


-------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to