Op 18/02/2011 3:27, Wyatt Biker schreef: > For now I noticed that Acrobat always uses 2 units as the margin > (aligned left of course). Would be nice if I didn't have to hardcode > this. I assume there is no way to get this information by some other > calculation? I'm not sure if I understand the question. Are you asking for a method that returns "2" when you ask for the margin? As far as I know these 2 units are a convention, not a value stored in the PDF.
------------------------------------------------------------------------------ The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb _______________________________________________ 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
