Product:Pdftron Android Native sdk
Please give a brief summary of your issue: How to implement Paset Annotation
(Think of this as an email subject)
Please describe your issue and provide steps to reproduce it:
After clicking the copy annotation in the sub-menu when the user long clicks not getting the option to paste the annotation. How to implement paste annotation?
(The more descriptive your answer, the faster we are able to help you)
Please provide a link to a minimal sample where the issue is reproducible:
Hello, I’m Ron, an automated tech support bot
While you wait for one of our customer support representatives to get back to you, please check out some of these documentation pages:
After copying an annotation simply tap on an empty part of the document and select “Paste”. I have included a video:
I am using PdfViewCtrlTabHostFragment2 and this on long-press popup is not shown,
how to paste it programmatically.
On long press, we need to paste annotation directly without showing any popup.
If you would like to paste an annotation programatically you can use the AnnotationClipboardHelper. pasteAnnot
Please see Java code below:
AnnotationClipboardHelper.pasteAnnot(mPdfViewCtrl.getContext(), mPdfViewCtrl, pageNumber, targetPoint, null);
Please let us know if this solution works for you.
this works as expected, thanks.
We’re glad to see that you have resolved your issue. Please feel free to contact us if you have any further questions.