You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to pdfne...@googlegroups.com
Q:
I am currently evaluating PDFNet SDK as a framework for an IOS applications. We need to be able to annotate, save and share PDF documents. In addition to search within documents.
I have managed to get the annotations tool working but have some questions I wonder if you can answer.
1. Is it possible to change the UI of the annotation toolbar, and add/remove items from it?
2. Is it possible to have the annotation toolbar appear from a menu rather than using a long click?
-------------------
A:
1. Judging from your second question, I believe by annotation toolbar you are referring to the UIMenuController that appears when you long press the document. Is that correct? If so, yes you can customize it. All of the document interaction behavior is part of the open source Tools library, which is included with the SDK in Lib/src/PDFViewCtrlTools. If you search for where UIMenuItem objects are created, you can find where the various options are added, and modify as needed.
2. Yes, a toolbar is part of the open source tools library, so you can customize it however you wish. Its source code can be found in Lib/src/PDFViewCtrlTools/Tools/Controls/AnnotationToolbar.{m,h}