Some test text!

Discord Logo

Chat with us

PDFTron is now Apryse, learn more here.

Xamarin / Guides / Toolmanager Events



PDFTron is now Apryse, learn more here.


You can take certain actions based on events and triggers.

Get notified of events fired from ToolManager in Xamarin.Android

This tutorial only applies to Xamarin.Android. See Xamarin.iOS equivalent here .

The ToolManager exposes a number of events to allow a subscriber to be notified of events fired from the tools package. There are a number of methods that allow you to modify the behaviour of the tools themselves. The methods discussed here are simple notifications, so that the app may coordinate as necessary.

See all event APIs here: ToolManager events.

ScenarioMethod to use to register your callback
Get notified on touch eventsExample: LongPress, SingleTapConfirmed etc.
Get notified on annotation eventsExample: InterceptAnnotationHandling
Get notified on annotation modification eventsExample: AnnotationsAdded, AnnotationsModified, AnnotationsRemoved etc.
Get notified on quick menu eventsExample: QuickMenuClicked
Get notified on tool changed eventToolChanged

Get the answers you need: Support