I've got some code that looks like the following:

        AcroFields.Item item                    = 
(AcroFields.Item)pdfFields.getFields().get( 
fieldID );
        ArrayList               widgets                 = item.widgets;
        PdfDictionary   dict                    = (PdfDictionary)widgets.get( 0 );
        ArrayList               rect                    = ((PdfArray)dict.get( 
PdfName.RECT )).getArrayList();
                
        fieldX  = ((PdfNumber)rect.get( 0 )).floatValue();
        fieldY  = ((PdfNumber)rect.get( 3 )).floatValue();

What I need to know is what are the units that are used for the X/Y values 
that I get back from the final calls, for the field position co-ordinates ?

Are they in pixels?  Points?  Picas?  Or some other unit of measure?  
Relative to what?

Could really use a quick response on this (my client is on my back for the 
info).

Many thanks to anyone that can shed some light on this for me.


Andrzej Jan Taramina
Chaeron Corporation: Enterprise System Solutions
http://www.chaeron.com



-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to