HT.PDF 6.0.6

.NET 6.0
dotnet add package HT.PDF --version 6.0.6
NuGet\Install-Package HT.PDF -Version 6.0.6
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="HT.PDF" Version="6.0.6" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add HT.PDF --version 6.0.6
#r "nuget: HT.PDF, 6.0.6"
#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 HT.PDF as a Cake Addin
#addin nuget:?package=HT.PDF&version=6.0.6

// Install HT.PDF as a Cake Tool
#tool nuget:?package=HT.PDF&version=6.0.6

The PDF Library .NET Core. Export PDF with table, image, grid... with full format: Horizontal, Vertical, Border, Background Color, Bold...
     public IActionResult PDF() {
     var model = new PDFDocument(12, PageSize.A4);
     model.AddCell(new PDFCell("PDF Library by HT Team") {
     HorizontalAlignment = Element.ALIGN_CENTER,
     Font = FontFactory.GetFont("Time new roman", 24f, 1),
     Color = BaseColor.Pink
     });
     model.AddImage(7, "https://codeopinion.com/wp-content/uploads/2016/02/aspnetcore.png");
     model.AddCell(new PDFCell("Asp.net Core"));
     model.AddEmpty(1);
     model.AddCell(new PDFCell("Facebook:") {
     Colspan = 2
     });
     model.AddCell(new PDFCell("https://www.facebook.com/naddigitaldotcom") {
     Reference = "https://www.facebook.com/naddigitaldotcom"
     });
     model.AddText(2, "Donate:");
     model.AddText(0,"Paypal: anhduc1403@gmail.com");
     model.AddEmpty(1);
     model.AddRow(new PDFRow(0) {
     Colspans = new List<int> { 1, 7, 4 },
     Contents = new List<string> { "No", "Description", " Note" },
     });
     for(int i = 1; i <= 3; i++) {
     model.AddRow(new PDFRow(i) {
     Colspans = new List<int> { 1, 7, 4 },
     Contents = new List<string> { i + "", "Description" + i, "x" },
     });
     }
     return File(model.Export(), "application/pdf");
     }

Product Versions
.NET net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows net7.0 net7.0-android net7.0-ios net7.0-maccatalyst net7.0-macos net7.0-tvos net7.0-windows
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
6.0.6 303 6/15/2022
6.0.5 297 5/12/2022
6.0.4 317 4/20/2022
6.0.3 293 4/19/2022
6.0.2 302 2/15/2022
6.0.1 193 12/17/2021
6.0.0 187 11/22/2021
5.0.11 271 10/25/2021
5.0.10 257 10/1/2021
5.0.9 217 8/11/2021
5.0.8 260 7/14/2021
5.0.7.15 291 6/16/2021