Getting started with XFINIUM.PDF Viewer in UWP applications

This tutorial will show how to get started with XFINIUM.PDF Viewer in UWP Windows 10 applications.

1. Open your page xaml in Visual Studio Designer.

Getting started with XFINIUM.PDF viewer in UWP applications

2. Drag a PdfDocumentView control from the toolbox onto the page and name the control ‘documentView‘. A reference to XFINIUM.PDF Viewer for UWP SDK will be added automatically to your project.

3. Add a test PDF file to your project and set its build action to EmbeddedResource.

4. In your page’s Loaded event create a PdfVisualDocument object, set the documentView.Document property with the PdfVisualDocument object and load a file in the document.



5. Run the application.

Leave a Reply