Skip to main content
Participating Frequently
April 28, 2018
解決済み

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

  • April 28, 2018
  • 返信数 2.
  • 2452 ビュー

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.

このトピックへの返信は締め切られました。
解決に役立った回答 try67

This can be done with a script (written in JavaScript).

You can use the getNthFieldName method to get access to all the fields in the file and then the rect property of each such Field object to get its location on the page.

返信数 2

try67
Community Expert
try67Community Expert解決!
Community Expert
June 3, 2018

This can be done with a script (written in JavaScript).

You can use the getNthFieldName method to get access to all the fields in the file and then the rect property of each such Field object to get its location on the page.

Bernd Alheit
Community Expert
Community Expert
April 28, 2018

Try the forum for Acrobat SDK.

sfc11245作成者
Participating Frequently
April 28, 2018

Okay. Let me change the forum for SDK.