Interaction Mode in Our UWP Viewer

PSPDFKit for Windows offers a wide range of tools for manipulating a document. Examples of this are panning, searching, and adding annotations. A full list of these modes can be found in the API Reference.

For example, if you want to enter search mode programmatically, you can write the following:

await pdfView.Controller.SetInteractionModeAsync(InteractionMode.Search);

To exit out of the mode, you can state the following:

await pdfView.Controller.SetInteractionModeAsync(InteractionMode.None);