Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

getPageBox returns different results from Preflight

Guest
Oct 01, 2016 Oct 01, 2016

I have a document where some pages appear to have an origin other than the corner of the page. PreFlight shows this in the value for both CropBox and MediaBox

But the getPageBox for Crop and Media returns 0,0 as the origin. Consequently, any attempt to add a form field or link gets positioned incorrectly.

I could make adjustments manually if there were some way to tell this is happening. Is this a bug in getPageBox? Is there a way to obtain the PreFlight values from JavaScript or IAC?

Here's an example page: http://plummer.us/BadPage.pdf

TOPICS
Acrobat SDK and JavaScript
255
Translate
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
no replies

Have something to add?

Join the conversation