Some test text!

menu
search
Set tool modekeyboard_arrow_down

Set Tool mode

You can set the current tool using the UI components as well as programmatically.

Change tool mode

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

When setting up the ToolManager, the default Tool is the Pan Tool. To change the tool, use ToolManager.setTool(ToolManager.Tool) API.

For example, to switch to the Text Highlighting tool, do the following:

mToolManager.Tool = mToolManager.CreateTool(ToolManager.ToolMode.TextHighlight, mToolManager.Tool);

To continuously using the same tool, do:

var tool = mToolManager.CreateTool(ToolManager.ToolMode.TextHighlight, mToolManager.Tool);
((Tool) tool).ForceSameNextToolMode = true;
mToolManager.Tool = tool;

Get the answers you need: Support

close

Free Trial

Get unlimited trial usage of PDFTron SDK to bring accurate, reliable, and fast document processing capabilities to any application or workflow.

Select a platform to get started with your free trial.

Unlimited usage. No email address required.

PDFTron Receives USD$71 Million Growth Investment Led By Silversmith Capital Partners

Learn more
close