PDFViewCtrl read onlykeyboard_arrow_down

PDFViewCtrl read only

ToolManager class handles all user interactions in PDFViewCtrl and can be used to make PDFViewCtrl read only as follows.

linkDisabling PDF editing

To disable PDF editing, such as adding annotations, call ToolManager.setReadOnly(boolean).


where toolManager is the instance of ToolManager.

linkDisabling all user interaction on PDFViewCtrl

To disable all user interaction on PDFViewCtrl, including selecting text, copy text, etc. set the ToolManager of PDFViewCtrl to null by calling PDFViewCtrl.setToolManager(ToolManager):


where pdfViewCtrl is the instance of PDFViewCtrl.

linkDisabling specified tools in ToolManager

To disable specified tools in ToolManager, see: disabling tools in ToolManager.