How to disable "duplicate"

Product: Android native sdk

Product Version: 9.3.1

Please give a brief summary of your issue:
how to disable duplicate option

Please describe your issue and provide steps to reproduce it:
When tapping on an annotation and then tapping the more menu button, a duplicate option is selectable. How can that duplicate button be removed?


Hello seth.pacheco,

You can follow this guide on customizing the quick menu: PDFTron Systems Inc. | Documentation

Let me know if this works for you!

Best regards,
Tyler Gordon

I still couldn’t figure out which ToolManager.ToolMode was tied to the DUPLICATE so I ended up just disabling the edit. My scenario was if the user doesn’t have annotations permission then disable the quick menu. I used this line of code:

mToolManager?.disableToolMode(
    arrayOf(ToolManager.ToolMode.ANNOT_EDIT)
)