Skip to main content
Participating Frequently
April 28, 2018
Answered

Anyway to get the position and the name of a field in the form?

  • April 28, 2018
  • 2 replies
  • 860 views

If there is some fields like the following, is there anyway (maybe using API or SDK) to get the position of the fields (for example left 47.52 pt, ...) and the name of the field (in this case Text1, Text2 and Text5)? I would like to export these information into a text document or XML.

This topic has been closed for replies.
Correct answer Thom Parker

Here's a short tutorial on page coordinates:

https://acrobatusers.com/tutorials/finding-page-boundaries

You'll find some video tutorials on scripting fields here:

Free Video Content & Full Listing of Available Videos

2 replies

Thom Parker
Community Expert
Thom ParkerCommunity ExpertCorrect answer
Community Expert
April 28, 2018

Here's a short tutorial on page coordinates:

https://acrobatusers.com/tutorials/finding-page-boundaries

You'll find some video tutorials on scripting fields here:

Free Video Content & Full Listing of Available Videos

Thom Parker - Software Developer at PDFScriptingUse the Acrobat JavaScript Reference early and often
sfc11245Author
Participating Frequently
April 29, 2018

Thankyou very much. These are very helpful.

Karl Heinz  Kremer
Community Expert
Community Expert
April 28, 2018

You can do this using the JavaScript, IAC and plug-in APIs. It’s all in the SDK documentation.

sfc11245Author
Participating Frequently
April 29, 2018

Thankyou very much. Let me read through the SDK documentation carefully. As I am a beginner at this field, I might ask again later.