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?