MigraDocCore.Rendering 1.3.65

dotnet add package MigraDocCore.Rendering --version 1.3.65                
NuGet\Install-Package MigraDocCore.Rendering -Version 1.3.65                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="MigraDocCore.Rendering" Version="1.3.65" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add MigraDocCore.Rendering --version 1.3.65                
#r "nuget: MigraDocCore.Rendering, 1.3.65"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install MigraDocCore.Rendering as a Cake Addin
#addin nuget:?package=MigraDocCore.Rendering&version=1.3.65

// Install MigraDocCore.Rendering as a Cake Tool
#tool nuget:?package=MigraDocCore.Rendering&version=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
Product Compatible and additional computed target framework versions.
.NET net5.0 is compatible.  net5.0-windows was computed.  net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 is compatible.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 is compatible. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (5)

Showing the top 5 NuGet packages that depend on MigraDocCore.Rendering:

Package Downloads
InvoicerNETCore

This client library enables easy generation of PDF invoices. See https://github.com/CraigBanach/InvoiceGenerator for further information.

MigraDocCore.Extensions

A MigraDocCore port of the MigraDoc.Extensions library by Vertigo Ventures.

MigraDocCore.Extensions.Html

Adds support for HTML in MigraDocCore documents using HtmlAgilityPack, ported from the MigraDoc.Extensions library by Vertigo Ventures.

MigraDocCore.Extensions.Markdown

Adds support for Markdown in MigraDocCore documents using Markdig, ported from the MigraDoc.Extensions library by Vertigo Ventures.

MarkdownPdf

Renders markdown text to a .pdf file.

GitHub repositories (1)

Showing the top 1 popular GitHub repositories that depend on MigraDocCore.Rendering:

Repository Stars
APSIMInitiative/ApsimX
ApsimX is the next generation of APSIM
Version Downloads Last updated
1.3.65 78,849 7/13/2024
1.3.64 207 7/12/2024
1.3.63 170,622 1/17/2024
1.3.62 86,304 9/27/2023
1.3.61 409 9/27/2023
1.3.60 38,307 8/26/2023
1.3.59 416 8/26/2023
1.3.58 404 8/26/2023
1.3.57 61,877 6/13/2023
1.3.56 54,747 4/19/2023
1.3.55 578 4/19/2023
1.3.54 607 4/18/2023
1.3.53 563 4/18/2023
1.3.52 573 4/18/2023
1.3.51 571 4/18/2023
1.3.50 603 4/18/2023
1.3.49 19,143 4/5/2023
1.3.48 551 4/5/2023
1.3.47 109,269 2/14/2023
1.3.46 631 2/14/2023
1.3.45 22,641 1/26/2023
1.3.44 661 1/26/2023
1.3.43 280,120 12/5/2022
1.3.42 686 12/5/2022
1.3.41 47,504 10/26/2022
1.3.40 49,016 9/22/2022
1.3.39 32,781 9/13/2022
1.3.38 22,261 8/31/2022
1.3.37 775 8/31/2022
1.3.36 789 8/31/2022
1.3.35 790 8/31/2022
1.3.34 729 8/31/2022
1.3.33 780 8/31/2022
1.3.32 83,338 6/8/2022
1.3.31 4,336 6/7/2022
1.3.30 1,919 6/3/2022
1.3.29 850 6/3/2022
1.3.28 878 6/3/2022
1.3.27 13,022 6/2/2022
1.3.26 845 6/2/2022
1.3.25 855 6/2/2022
1.3.24 4,386 5/31/2022
1.3.23 1,404 5/30/2022
1.3.22 830 5/30/2022
1.3.21 866 5/30/2022
1.3.20 848 5/30/2022
1.3.19 2,968 5/25/2022
1.3.18 17,379 4/28/2022
1.3.17 1,190 4/25/2022
1.3.16 44,233 4/5/2022
1.3.15 15,630 3/30/2022
1.3.14 95,017 3/10/2022
1.3.13 2,662 3/8/2022
1.3.12 56,933 2/9/2022
1.3.11 18,376 1/21/2022
1.3.10 125,786 12/16/2021
1.3.9 20,007 11/11/2021
1.3.8 15,882 10/27/2021
1.3.7 15,791 9/29/2021
1.3.6 63,228 9/22/2021
1.3.5 1,775 9/21/2021
1.3.4 5,041 9/17/2021
1.3.3 726 9/17/2021
1.3.2 739 9/16/2021
1.3.1 4,936 9/15/2021
0.1.3 3,399 9/7/2021
0.1.2 6,508 8/26/2021
0.1.1 141,887 3/1/2021
0.1.0 96,020 5/10/2020

Update Dependencies