Search Results for

    Show / Hide Table of Contents

    Getting started with PDFsharp

    Version 6.1.0

    In this section

    • Learning the programming model
    • Sample source code
    • More samples
    • Getting support
    • Reporting bugs

    Learning the programming model

    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.

    For samples that were already included with PDFsharp 1.5, see here:
    https://github.com/empira/PDFsharp.Samples/tree/master/src/samples-1.5/src/PDFsharp/src

    For samples that are new for PDFsharp 6.x, see here:
    https://github.com/empira/PDFsharp.Samples/tree/master/src/samples/src/PDFsharp/src

    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.

    Issue reporting

    • Edit this page
    In this article
    Generated by DocFX  |   Privacy policy  |   Legal notice
    Back to top