Op 17/12/2010 4:13, qplace schreef:
> How to retrieve the page margins from the existing document?
>
> I have PdfReader instance which I am using to get the page rectangle. I don't
> see the method that returns the margin sizes for the page. Is there such a
> method and how can I get the margins for a page where there is no text?
> Using "TextMarginFinder" apparently retrievs the margins of the existing text
> on a page. My situation is that the document I am reading have only fields and
> no text...
You should retrieved the coordinates of the fields (method 
getFieldPositions) and use that information.

------------------------------------------------------------------------------
Lotusphere 2011
Register now for Lotusphere 2011 and learn how
to connect the dots, take your collaborative environment
to the next level, and enter the era of Social Business.
http://p.sf.net/sfu/lotusphere-d2d
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Many questions posted to this list can (and will) be answered with a reference 
to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples: 
http://itextpdf.com/themes/keywords.php

Reply via email to