Search Results for

    Show / Hide Table of Contents

    Port existing PDFsharp projects to
    PDFsharp 6

    Version 6.1.0

    In this article

    • Upgrade existing code
    • Breaking changes

    This article describes how to upgrade your existing PDFsharp 1.x projects to PDFsharp 6.

    Upgrade existing code

    Upgrading an existing PDFsharp project is described in Upgrade existing projects to PDFsharp 6.

    Breaking changes

    PDFsharp Library 6 is the successor of PDFsharp 1.5. It has the following breaking changes.

    • The class XFontStyle is renamed to XFontStyleEx
    • The Core build now has no dependencies on the System.Drawing namespace anymore. If your code relies on functionality of GDI+ use the PDFsharp GDI+ build.
    • Some of the implicit conversions in XUnit became obsolete because they led to misunderstandings and unexpected behavior. Consider initiating XUnit passing the desired unit type or use the new XUnitPt class instead to deal with point values and benefit from implicit conversions and value conversions.
    • Edit this page
    In this article
    Generated by DocFX  |   Privacy policy  |   Legal notice
    Back to top