Ink annotation moves and rotates after ImportAnnot - RadaeePDF.com
Signin/Signup with: 
Welcome, Guest
Username: Password: Remember me
Questions about iOS development and PDF
  • Page:
  • 1
  • 2

TOPIC: Ink annotation moves and rotates after ImportAnnot

Ink annotation moves and rotates after ImportAnnot 2 weeks 5 days ago #15098

  • Damir Gibaev
  • Damir Gibaev's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 4
  • Thank you received: 0
Hi everyone,
i've got some problems with importing ink annotations. I export ink annotation with PDFAnnot.export, get rect with PDFAnnot.getRect and then import annotation to the same page page.importAnnot(rect, data, dataLength). This is our Undo/Redo implementation.
Code works fine but on some PDF documents we have strange behaviour that imported annotation rotates and moves to another position.
Could you help with that?

Image in attachments, test PDF doc in dropbox www.dropbox.com/s/68b2e61ulwp5w04/A17_FlightPlan.pdf?dl=0
Radaee SDK iOS ver 3.57, premium license
Attachments:

Please Log in or Create an account to join the conversation.

Last edit: by Damir Gibaev.

Ink annotation moves and rotates after ImportAnnot 2 weeks 5 days ago #15099

  • radaee
  • radaee's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 979
  • Karma: 43
  • Thank you received: 42
can you check return value of
Page.getRotate()?
i guess it may cause error, when 2 pages has not same rotate angle.

Please Log in or Create an account to join the conversation.

Ink annotation moves and rotates after ImportAnnot 2 weeks 5 days ago #15100

  • radaee
  • radaee's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 979
  • Karma: 43
  • Thank you received: 42
we have a native library fix for you.
we will update in this week.
The following user(s) said Thank You: Damir Gibaev

Please Log in or Create an account to join the conversation.

Ink annotation moves and rotates after ImportAnnot 2 weeks 5 days ago #15101

  • Damir Gibaev
  • Damir Gibaev's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 4
  • Thank you received: 0
Thanks! I will wait for it.

Please Log in or Create an account to join the conversation.

Ink annotation moves and rotates after ImportAnnot 2 weeks 4 days ago #15106

  • federico
  • federico's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 180
  • Thank you received: 16
Dear user,
We've just updated the new Radaee iOS SDK's beta version that will solve your issue here
You could also just update core lib
Please tell us if all works good
The following user(s) said Thank You: Damir Gibaev

Please Log in or Create an account to join the conversation.

Ink annotation moves and rotates after ImportAnnot 2 weeks 3 days ago #15107

  • Damir Gibaev
  • Damir Gibaev's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 4
  • Thank you received: 0
Thanks, Federico! Now import works fine for ink annotations. But i noticed other problems with this document:
1. Text annotation also moves after Import:

2. Some ink annotations were clipped after import, and some annotations (like dots) just disappeared:
Attachments:

Please Log in or Create an account to join the conversation.

Last edit: by Damir Gibaev.
  • Page:
  • 1
  • 2
Powered by Kunena Forum