How to add PDFsharp lib in C#?

后端 未结 6 1298
野趣味
野趣味 2020-12-30 22:39

I am new to C#.net, I downloaded PDFsharp lib. But how to add this lib to our project?
My project is to create a PDF file. Please provide me step by step instructions. A

6条回答
  •  一整个雨季
    2020-12-30 22:51

    You can add the existing projects (*.csproj) that come with the PDFsharp source code to your solution and then reference these projects. If you do so, you can jump into the PDFsharp source code and IntelliSense will also work. Check the samples to see which references you need.

    All required assemblies will automatically be copied to the bin/debug or bin/release folder respectively of your application.

    If you only downloaded the binaries, add references to the DLL files.

    Update: You can find PDFsharp and MigraDoc on NuGet. The NuGet Package Manager will then add the project references for you.

提交回复
热议问题