How to get dimensions and location of a Field?

Explorer ,
Apr 04, 2019 Apr 04, 2019

Copy link to clipboard

Copied

Good evening, is there any way to get the coordinates, and dimensions of a Field in Acrobat?  We are trying to find a way to essentially recreate all the fields in the document, that way to can rename all of them.  Any help or advice would be wonderful!

TOPICS
Acrobat SDK and JavaScript, Windows

Views

137

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Community Professional ,
Apr 04, 2019 Apr 04, 2019

Copy link to clipboard

Copied

Look at the properties of the field object.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Community Professional ,
Apr 04, 2019 Apr 04, 2019

Copy link to clipboard

Copied

LATEST

If you are creating a new form and you want the same fields, then there is an easy technique.  Simply replace the pages in the old form with pages from the new form.

If you want something more dynamic, i.e. a scripted solution, then it is also possible to write a script to copy fields from one form to another. 

Thom Parker - Software Developer at PDFScripting
Use the Acrobat JavaScript Reference early and often

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines