Article View: adobe.acrobat.sdk
Article #224Re: "Page" and "Rect" props of the Field prop in Javascript API
From: ArtIn_Act
Date: Thu, 19 Mar 2009 16:23
Date: Thu, 19 Mar 2009 16:23
10 lines
1404 bytes
1404 bytes
Aha! Thank you, guys! So, to summarize, at least in the case of "simple" field, the notation FieldName.PageIndex creates a fully qualified name for a field located on a specific page. Page index is an 0-base index to an array of pages that is returned for a generic FieldName.
Example:
Call getField("Test").page returns (4, 6, 8 ). It means that there are three fields in the document that start with "Test": "Test.0", "Test.1" and "Test.2" and these fields are located on pages 4, 6 or 8 but not necessarily in order.
Calls to getField("Test.0").page, or getField("Test.1").page or getField("Test.2").page
should _always_ return one page where this field is located and not an array of pages.
Correct?
Technical Details
Message-ID:
<59b85828.5@webcrossing.la2eafNXanI>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!npeer01.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!newshub.sdsu.edu!webcrossingReferences:
<59b85828.-1@webcrossing.la2eafNXanI>Show Full Headers
Complete Article Headers
X-Google-Thread: 10177e,599f23df346cf3a6 X-Google-Attributes: gid10177e,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit From: ArtIn_Act@adobeforums.com Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!npeer01.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!newshub.sdsu.edu!webcrossing Newsgroups: adobe.acrobat.sdk Subject: Re: "Page" and "Rect" props of the Field prop in Javascript API Message-ID: <59b85828.5@webcrossing.la2eafNXanI> Date: Thu, 19 Mar 2009 09:23:40 -0700 References: <59b85828.-1@webcrossing.la2eafNXanI> Lines: 18 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit