How to do runtime cusomization of Annotation Toolbar on Windows Mobile?

15 views
Skip to first unread message

Ryan

unread,
Mar 14, 2016, 7:15:25 PM3/14/16
to PDFTron PDFNet SDK
Question:

I want to allow the user to customize the Annotation toolbar in PDFView. The User should be able to define which tools should be enabled or disabled from certain option menu.

Could you give us a hint?

Answer:

The items in the Annotation toolbar are currently decided based on size and importance ranking. In order to change this, the AnnotationToolbar.xaml.cs would have to be changed, together with AnnotationToolbarBase.cs.

The logic for figuring out what buttons to show is in AnnotationToolbarBase.AnnotationToolbar_SizeChanged. But instead of looking at the ranking, you would want to look at the settings to select buttons.

Reply all
Reply to author
Forward
0 new messages