Skip to content
Guides

How to Run a Demo

ComPDFKit PDF SDK for Windows provides multiple demos in C# for developers to learn how to call the SDK on Windows. You can find them in the "Examples" folder.

In this guide, we take "PDFViewer" as an example to show how to run it in Visual Studio 2022.

  1. Copy your "license_key_windows.xml" to the "Examples" folder (The file is the license to make your project run).

  2. Find "Examples.sln" in the "Examples" folder and open it in Visual Studio 2022.

    Alt text

  3. Select "PDFViewer" and right-click to set it as a startup project.

    Alt text

  4. Run the project and then you can open the multifunctional "PDFViewer" demo.

    Alt text

Note: This is a demo project, presenting completed ComPDFKit PDF SDK functions. The functions might be different based on the license you have purchased. Please check that the functions you choose work fine in this demo project.