Getting started with PDFsharp

Please examine the sample source code to learn about the classes that come with PDFsharp and what they can do.

The Hello World sample demonstrates how to add a page and draw some text.

The Graphics sample demonstrates advanced drawing functions you can use to create attractive PDF contents.

Sample source code

Sample code can be found on GitHub.

More samples

The PDFsharp forum has a board with sample code from members:
https://forum.pdfsharp.net/viewforum.php?f=8

These samples cover various topics and might help you solve your tasks.

Getting support

If you have specific questions, feel free to ask them at our peer support forum:
https://forum.pdfsharp.net/

Reporting bugs

When reporting bugs, it is important for us to be able to replicate the issue.

We created a sample project that uses the Nuget packages to help you providing a minimal code sample that replicates the issue.