Moderators:PDF-XChange Support, Daniel - PDF-XChange, Chris - PDF-XChange, Sean - PDF-XChange, Paul - PDF-XChange, Vasyl - PDF-XChange, Ivan - Tracker Software, Stefan - PDF-XChange
Forum rules DO NOT post your license/serial key, or your activation code - these forums, and all posts within, are public and we will be forced to immediately deactivate your license.
When experiencing some errors, use the IAUX_Inst::FormatHRESULT method to see their description and include it in your post along with the error code.
Hmm, I don't have any exceptions in the original sample, where the annots are being copied in the same document. Do you also have troubles with the original sample?
But I did recreate the behavior with other document as a NewDoc parameter.
Found the issue - the pages count in my destination document was less then the options["NewPageIndex"].v = 3;
After further inspection - it seems that copying annotations in other documents via this operation is not yet implemented. You can even try doing that in the End-User Editor - it won't work.
A TODO from our side.
Alex asked me to make a ticket in our internal system for this issue. The ticket number is #5482: op.annots.move SDK Help sample -> "the parameter is incorrect"
and we will post again here as soon as there is any additional information in it.