PdfSharpCore 1.3.65

PdfSharpCore

NuGet Version CI codecov.io

PdfSharpCore is a partial port of PdfSharp.Xamarin for .NET Standard. Additionally MigraDoc has been ported as well (from version 1.32). Image support has been implemented with SixLabors.ImageSharp and Fonts support with SixLabors.Fonts.

Table of Contents

Example

The following code snippet creates a simple PDF-file with the text 'Hello World!'. The code is written for a .NET 6 console app with top level statements.

using PdfSharpCore.Drawing;
using PdfSharpCore.Fonts;
using PdfSharpCore.Pdf;
using PdfSharpCore.Utils;

GlobalFontSettings.FontResolver = new FontResolver();

var document = new PdfDocument();
var page = document.AddPage();

var gfx = XGraphics.FromPdfPage(page);
var font = new XFont("Arial", 20, XFontStyle.Bold);

var textColor = XBrushes.Black;
var layout = new XRect(20, 20, page.Width, page.Height);
var format = XStringFormats.Center;

gfx.DrawString("Hello World!", font, textColor, layout, format);

document.Save("helloworld.pdf");

Contributing

We appreciate feedback and contribution to this repo!

License

This software is released under the MIT License. See the LICENSE file for more info.

PdfSharpCore relies on the following projects, that are not under the MIT license:

  • SixLabors.ImageSharp and SixLabors.Fonts

Showing the top 20 packages that depend on PdfSharpCore.

Packages Downloads
PDF.Core
IronPDF for .Net Core 2 and above allows developers to create, edit and extract PDF content within .Net Core Applications & Websites. The Iron PDF Core 2+ library takes the frustration out of generating PDF documents by not relying on proprietary APIs. "Html-To-Pdf" renders pixel-perfect PDFs from open standard document types: HTML, JS, CSS, JPG, PNG, GIF, and SVG. In short, it uses skills that developers already posses. Key features include: * "Html-To-Pdf" creates PDF files from HTML, CSS, JavaScript, and Images. * "Url-To-Pdf" generates PDFs from existing html pages by simply providing their URL. * "ASPX-To-Pdf" converts ASP.NET web forms directly into downloadable pdfs. * "Image-To-PDF" creates PDF documents from image files. * PDF to Image functionality can render PDF documents to image files. * Extract text and images from existing PDFs. * Create, Fill and read data from PDF forms. * Merge, Split and Manipulate PDFs to edit PDF structure and content. Add Page Numbers, Headers, Footers, Watermarks, Tables, Text and Image Assets. * Edit, Stamp and Watermark PDF files with text, images and HTML * Apply HTML or PDF backgrounds to PDF pages IronPDF can be used within ASP.NET projects, MVC, Web Services, Console & Desktop Applications. Requires .Net Core 2 or above on Windows, Linux, MacOS and Azure platforms. Licensing & Support available for commercial deployments. For code examples, documentation & more visit http://ironpdf.com For support please email us at developers@ironsoftware.com
1
PDF.Core
IronPDF for .Net Core 2 and above allows developers to create, edit and extract PDF content within .Net Core Applications & Websites. The Iron PDF Core 2+ library takes the frustration out of generating PDF documents by not relying on proprietary APIs. "Html-To-Pdf" renders pixel-perfect PDFs from open standard document types: HTML, JS, CSS, JPG, PNG, GIF, and SVG. In short, it uses skills that developers already posses. Key features include: * "Html-To-Pdf" creates PDF files from HTML, CSS, JavaScript, and Images. * "Url-To-Pdf" generates PDFs from existing html pages by simply providing their URL. * "ASPX-To-Pdf" converts ASP.NET web forms directly into downloadable pdfs. * "Image-To-PDF" creates PDF documents from image files. * PDF to Image functionality can render PDF documents to image files. * Extract text and images from existing PDFs. * Create, Fill and read data from PDF forms. * Merge, Split and Manipulate PDFs to edit PDF structure and content. Add Page Numbers, Headers, Footers, Watermarks, Tables, Text and Image Assets. * Edit, Stamp and Watermark PDF files with text, images and HTML * Apply HTML or PDF backgrounds to PDF pages IronPDF can be used within ASP.NET projects, MVC, Web Services, Console & Desktop Applications. Requires .Net Core 2 or above on Windows, Linux, MacOS and Azure platyforms. Licensing & Support available for commercial deployments. For code examples, documentation & more visit http://ironpdf.com For support please email us at developers@ironsoftware.com
3
PDF.Core
IronPDF for .Net Core 2 and above allows developers to create, edit and extract PDF content within .Net Core Applications & Websites. The Iron PDF Core 2+ library takes the frustration out of generating PDF documents by not relying on proprietary APIs. "Html-To-Pdf" renders pixel-perfect PDFs from open standard document types: HTML, JS, CSS, JPG, PNG, GIF, and SVG. In short, it uses skills that developers already posses. Key features include: * "Html-To-Pdf" creates PDF files from HTML, CSS, JavaScript, and Images. * "Url-To-Pdf" generates PDFs from existing html pages by simply providing their URL. * "Image-To-PDF" creates PDF documents from image files. * PDF to Image functionality can render PDF documents to image files. * Extract text and images from existing PDFs. * Create, Fill and read data from PDF forms. * Merge, Split and Manipulate PDFs to edit PDF structure and content. * Add Page Numbers, Headers, Footers, Watermarks, Tables, Text and Image Assets. * Edit, Stamp and Watermark PDF files with text, images and HTML * Apply HTML or PDF backgrounds to PDF pages IronPDF can be used within ASP.NET projects, MVC, Web Services, Console & Desktop Applications. Requires .Net Core 2 or above on Windows, Linux, MacOS and Azure platforms. Licensing & Support available for commercial deployments. For code examples, documentation & more visit http://ironpdf.com For support please email us at developers@ironsoftware.com
1
PDF.Core
IronPDF for .Net Core 2 and above allows developers to create, edit and extract PDF content within .Net Core Applications & Websites. The Iron PDF Core 2+ library takes the frustration out of generating PDF documents by not relying on proprietary APIs. "Html-To-Pdf" renders pixel-perfect PDFs from open standard document types: HTML, JS, CSS, JPG, PNG, GIF, and SVG. In short, it uses skills that developers already posses. Key features include: * "Html-To-Pdf" creates PDF files from HTML, CSS, JavaScript, and Images. * "Url-To-Pdf" generates PDFs from existing html pages by simply providing their URL. * "Image-To-PDF" creates PDF documents from image files. * PDF to Image functionality can render PDF documents to image files. * Extract text and images from existing PDFs. * Create, Fill and read data from PDF forms. * Merge, Split and Manipulate PDFs to edit PDF structure and content. * Add Page Numbers, Headers, Footers, Watermarks, Tables, Text and Image Assets. * Edit, Stamp and Watermark PDF files with text, images and HTML * Apply HTML or PDF backgrounds to PDF pages IronPDF can be used within ASP.NET projects, MVC, Web Services, Console & Desktop Applications. Requires .Net Core 2 or above on Windows, Linux, MacOS and Azure platforms. Licensing & Support available for commercial deployments. For code examples, documentation & more visit http://ironpdf.com For support please email us at developers@ironsoftware.com
2
Polybioz.HtmlRenderer.PdfSharp.Core
HtmlRenderer.PdfSharp.Core is a partial port of HtmlRenderer.PdfSharp for .NET Core
2

Update Dependencies

.NET Core 3.1

.NET Standard 2.0

.NET 8.0

.NET 7.0

.NET 6.0

.NET 5.0

Version Downloads Last updated
1.3.65 1 10/10/2024
1.3.64 0 07/12/2024
1.3.63 3 04/24/2024
1.3.62 3 04/26/2024
1.3.61 3 04/26/2024
1.3.60 3 04/26/2024
1.3.59 3 04/25/2024
1.3.58 3 04/26/2024
1.3.57 3 04/25/2024
1.3.56 3 04/26/2024
1.3.55 3 04/26/2024
1.3.54 3 04/26/2024
1.3.53 3 04/26/2024
1.3.52 3 04/26/2024
1.3.51 3 04/26/2024
1.3.50 2 04/26/2024
1.3.49 3 04/26/2024
1.3.48 3 04/26/2024
1.3.47 3 04/25/2024
1.3.46 2 04/26/2024
1.3.45 3 04/26/2024
1.3.44 3 04/26/2024
1.3.43 3 04/26/2024
1.3.42 3 04/26/2024
1.3.41 3 04/26/2024
1.3.40 3 04/26/2024
1.3.39 3 04/25/2024
1.3.38 3 04/26/2024
1.3.37 3 04/25/2024
1.3.36 3 04/26/2024
1.3.35 3 04/26/2024
1.3.34 3 04/26/2024
1.3.33 3 04/26/2024
1.3.32 3 04/26/2024
1.3.31 3 04/26/2024
1.3.30 2 04/26/2024
1.3.29 3 04/26/2024
1.3.28 3 04/25/2024
1.3.27 3 04/25/2024
1.3.26 3 04/26/2024
1.3.25 3 04/25/2024
1.3.24 3 04/26/2024
1.3.23 2 04/26/2024
1.3.22 2 04/26/2024
1.3.21 2 04/26/2024
1.3.20 2 04/26/2024
1.3.19 3 04/26/2024
1.3.18 3 04/25/2024
1.3.17 3 04/26/2024
1.3.16 3 04/26/2024
1.3.15 3 04/26/2024
1.3.14 2 04/25/2024
1.3.13 3 04/25/2024
1.3.12 3 04/26/2024
1.3.11 3 04/26/2024
1.3.10 3 04/26/2024
1.3.9 3 04/26/2024
1.3.8 3 04/26/2024
1.3.7 3 04/25/2024
1.3.6 3 04/26/2024
1.3.5 3 04/26/2024
1.3.4 3 04/26/2024
1.3.3 3 04/26/2024
1.3.2 2 04/25/2024
1.3.1 2 04/26/2024
1.2.20 3 04/26/2024
1.2.19 3 04/26/2024
1.2.18 3 04/25/2024
1.2.17 3 04/26/2024
1.2.16 3 04/26/2024
1.2.15 3 04/25/2024
1.2.14 3 04/26/2024
1.2.13 3 04/26/2024
1.2.12 3 04/26/2024
1.2.11 3 04/26/2024
1.2.10 3 04/26/2024
1.2.9 3 04/26/2024
1.2.8 3 04/26/2024
1.2.6 3 04/26/2024
1.2.5 3 04/26/2024
1.2.4 3 04/26/2024
1.2.3 3 04/26/2024
1.2.2 2 04/26/2024
1.2.1 2 04/26/2024
1.2.0 3 04/26/2024
1.1.26 2 04/26/2024
1.1.25 2 04/26/2024
1.1.24 2 04/26/2024
1.1.23 3 04/26/2024
1.1.22 3 04/26/2024
1.1.21 3 04/26/2024
1.1.20 2 04/26/2024
1.1.19 2 04/26/2024
1.1.18 3 04/26/2024
1.1.17 2 04/25/2024
1.1.16 2 04/26/2024
1.1.15 2 04/26/2024
1.1.12 2 04/26/2024
1.1.11 3 04/26/2024
1.1.10 2 04/26/2024
1.1.9 2 04/25/2024
1.1.8 2 04/26/2024
1.1.7 3 04/26/2024
1.1.6 2 04/26/2024
1.1.5 3 04/26/2024
1.1.4 3 04/26/2024
1.1.3 3 04/26/2024
1.1.1 3 04/26/2024
1.1.0 3 04/26/2024
1.0.9 3 04/26/2024
1.0.7 2 04/25/2024
1.0.6 2 04/26/2024
1.0.4 2 04/26/2024
1.0.3.4 3 04/26/2024
1.0.3.3 2 04/26/2024
1.0.3.1 3 04/26/2024
1.0.3 3 04/26/2024
1.0.2 3 04/26/2024
1.0.1 3 04/26/2024
1.0.0 4 11/20/2023