Interaction Mode
11 Sep 20201 minute to read
The PDF viewer control provides interaction modes for easy interaction with the PDF documents in the control. Selection mode and Panning mode are the two interaction modes.
Selection Mode
In this mode, the text selection can be performed in the PDF document loaded in the PDF viewer control. The panning and scrolling of the pages by touch cannot be performed in this mode.
Enable or disable the Text selection
The text selection in the PDF viewer control can be enabled or disabled using the EnableTextSelection property.
<ej:pdfviewer id="PdfViewer1" Height="800"
ServiceUrl="../api/PdfViewer" EnableTextSelection="true"
runat="server">
</ej:pdfviewer>
Panning Mode
In this mode, the panning and scrolling of the pages by touch can be performed in the PDF document loaded in the PDF viewer control, but the text selection cannot be performed.