Microsoft Windows Phone 8.1 support ends (13 Jul 2017)

Microsoft has ended support for Windows Phone 8.1

Questions about iOS development and PDF

Ink annotation moves and rotates after ImportAnnot

More
IP: 5.227.124.49 5 years 9 months ago - 5 years 9 months ago #15098 by Damir Gibaev
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
Last edit: 5 years 9 months ago by Damir Gibaev.
More
IP: 111.196.245.40 5 years 9 months ago #15099 by radaee
can you check return value of
Page.getRotate()?
i guess it may cause error, when 2 pages has not same rotate angle.
More
IP: 111.196.245.40 5 years 9 months ago #15100 by radaee
we have a native library fix for you.
we will update in this week.
More
IP: 5.227.124.49 5 years 9 months ago #15101 by Damir Gibaev
Thanks! I will wait for it.
More
IP: 87.10.38.122 5 years 9 months ago #15106 by federico
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
More
IP: 5.227.124.49 5 years 9 months ago - 5 years 9 months ago #15107 by Damir Gibaev
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:
Last edit: 5 years 9 months ago by Damir Gibaev.
Time to create page: 0.422 seconds
Powered by Kunena Forum