PdfPageEventHelper and margins problem
- From: "Paulo Soares" <psoares (at) consiste.pt>
- Date: Tue, 16 May 2006 16:24:01 +0100
> -----Original Message-----
> From: itext-questions-admin (at) lists.sourceforge.net
> [mailto:itext-questions-admin (at) lists.sourceforge.net] On
> Behalf Of Nicolas Laplante
> Sent: Monday, May 15, 2006 4:57 PM
> To: itext-questions (at) lists.sourceforge.net
> Subject: [iText-questions] PdfPageEventHelper and margins problem
>
> Hi, I have a Document which has it's bottom margin set to 19 pt.
>
> I then plug a PdfPageEventHelper on it. The onEndPage() method has a
> Document argument, which I assume is the document on which
> the event helper
> is attached.
>
> However, I print the bottom margin to System.out from inside
> the onEndPage()
> method and the result is 168pt. I don't know where the bottom
> margin gets
> changed but I really need to get the same value I specified
> at document
> creation (19pt).
>
> What am I doing wrong?
>
No idea, you didn't post any code so that the problem could be
reproduced.
Paulo
> Thank you
>
> Nicolas Laplante
>
>
>
>
>
> -------------------------------------------------------
> 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
> iText-questions (at) lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/itext-questions
>
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.
-------------------------------------------------------
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&kid0709&bid&3057&dat1642
_______________________________________________
iText-questions mailing list
iText-questions (at) lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions