Some test text!

Hamburger Icon

Xamarin / Guides

Read only mode: disable annotations, editing & user interactions

This tutorial only applies to Xamarin.Android.

Actions such as annotation creation, editing, form filling, signing, and link following etc. are enabled by default. It is possible to selectively enable parts of such functionality as well as completely disable all interactive features.

Disable PDF editing

To disable PDF editing, such as adding annotations, filling form fields or signing, use ToolManager.ReadOnly.

toolManager.ReadOnly = true;

where toolManager is the instance of ToolManager.

Disable all user interaction

To disable all user interaction on PDFViewCtrl, such as selecting text, selecting annotations, do not associate a ToolManager with a PDFViewCtrl. For example, do not use ToolManagerBuilder to create a ToolManager object.

Disable annotation creation and editing

To hide all UI widgets that are associated with creation and editing of a particular annotation type, see: Disable annotation creation and editing .

Disable other functionality

To disable functionality that is not directly tied to annotations, see: Disable functionality .

Get the answers you need: Chat with us