3// Create the tool manager (used to implement text selection, annotation editing, etc.)
4mToolManager = new PTToolManager(mPdfViewCtrl);
5
6// Register the tool manager to receive events.
7mPdfViewCtrl.ToolManager = mToolManager;
8
9// Set the initial tool.
10self.toolManager.changeTool(PanTool.self)
You can now tap to select and edit annotations, fill forms, long press to select text, and long press empty areas of the document to create annotations.
Configuration
A ToolManager instance can be configured by setting its properties.
The following code shows how to disable text selection and editing of ink (free hand) annotations: