Skip to content

Build a simple PDF viewer application using XFINIUM.PDF.View controls for Windows Forms

  1. Install the XFINIUM.PDF.View controls in Visual Studio toolbox

  2. Create a new Windows Forms application and open the main form in the Windows Forms designer.

  3. Drag a PdfDocumentView control and a PdfVisualDocument component onto the form.

  4. Set the Document property of the PdfDocumentView control to the PdfVisualDocument object added on the form.

  5. In form's Load event add the following code:

  6. Run the application.