Interaction Modes
The PdfViewer component supports three modes that determine the behavior of the document presenter when interacting with the mouse device, using left click.
The default mode is Pan
which allows you to pan the document on drag over.
The TextSelection
mode allows you to select text on drag over and display a caret that can be positioned relative to the text.
The None
mode disables the mouse interactions and you can neither pan, nor select.
The available modes are part of the FixedDocumentViewerModes
enumeration and can be set to the Mode
property of RadPdfViewer
.
Setting the interaction mode
this.pdfViewer.Mode = FixedDocumentViewerMode.TextSelection;
RadPdfViewerToolbar
.