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

PDEElementGetBBox returns different value

New Here ,
Aug 02, 2017 Aug 02, 2017

Copy link to clipboard

Copied

Hi.


I have developed a plugin which delete the text element from PDF.
In some cases, the value obtained from PDEElementGetBBox return the different value from two text element

at same position within PDDoc objects(objectA and objectB).

objectA makes from objectB.

     const PDDoc objectA = PDDocCreate();
     PDDocCreatePage( objectA, PDBeforeFirstPage, srcrect );
     PDDocReplacePages( objectA, 0, objectB, pagenum, 1, false, NULL, NULL, NULL, NULL );

I Used PDEElementGetBBox to same position text element within objectA and objectB.
but return value(textBBox.left and textBBox.right) is different.

can you tell me reason about this case happened.

TOPICS
Acrobat SDK and JavaScript

Views

223

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
no replies

Have something to add?

Join the conversation