The PdfViewer component supports three modes that determine the behavior of the document presenter when interacting with the left click of the mouse.
- The default
Panmode of the PdfViewer allows you to pan the document on drag-over.
TextSelectionmode allows you to select text on drag-over and display a caret that can be positioned relatively to the text.
Nonemode 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 the PdfViewer.
Set the interaction mode
this.pdfViewer.Mode = FixedDocumentViewerMode.TextSelection;