How to determine coordinates of an element on a template

How to determine coordinates of an element on a template

Forum member · Nov 28, 2007
Hello, I am needing to determing the x and y coordinates of acro form fields that have been placed on a template pdf that will be filled dynamically. I have been unable to determine how to do this via the documentation. Workflow: 1) Open PDF template file 2) Walk through the templates fields and determine x/y coordinates of field 3) Based on business rules, move,resize or add additional child fields to field element Thank you for your help

Re: How to determine coordinates of an element on a template

Support · Nov 29, 2007
Hello, You can get the X, Y coordinates of a form field by using the getX, getY methods of the PdfFormField class. You can loop through the formfield collection to access all the form fields. It is not possible to move or resize the existing form fields using our product. You can add any new fields or contents to the PDF without any problem. Thanks, ceTe Software Support Team.