ABCpdf 13.0.0.1-rc
See the version list below for details.
dotnet add package ABCpdf --version 13.0.0.1-rc
NuGet\Install-Package ABCpdf -Version 13.0.0.1-rc
<PackageReference Include="ABCpdf" Version="13.0.0.1-rc" />
paket add ABCpdf --version 13.0.0.1-rc
#r "nuget: ABCpdf, 13.0.0.1-rc"
// Install ABCpdf as a Cake Addin #addin nuget:?package=ABCpdf&version=13.0.0.1-rc&prerelease // Install ABCpdf as a Cake Tool #tool nuget:?package=ABCpdf&version=13.0.0.1-rc&prerelease
Test Code
Quite often when creating a new project you want some simple test code to ensure your installation is correct.
First you need to ensure you are using the correct namespace. Insert the following at the top of your C# module.
using WebSupergoo.ABCpdf13;
If you are in a forms or console application, the following Hello World code may be useful.
using (Doc doc = new Doc()) {
doc.FontSize = 96;
doc.AddText("Hello World!");
doc.Save(@"C:\_output.pdf"); // adjust path for your needs
}
Alternatively if you are running under ASP.NET, you may want a Page_Load function something like this.
byte[] theData = null;
using (Doc doc = new Doc()) {
doc.FontSize = 96;
doc.AddText("Hello World!");
theData = doc.GetData();
}
Response.Clear();
Response.ContentType = "application/pdf";
Response.AddHeader("content-disposition", "inline; filename=MyPDF.PDF");
Response.AddHeader("content-length", theData.Length.ToString());
Response.BinaryWrite(theData);
Response.End();
For more example projects, please download the installer bundle from the ABCpdf download site.
Documentation
Documentation for ABCpdf can be found here:
https://www.websupergoo.com/helppdfnet/
Alternatively you can download the installer bundle from the ABCpdf download site as this contains full documentation in CHM format.
Installation
ABCpdf is an Xcopy deployment. All that is needed is that the DLLs and associated files be copied to your bin directory.
This should happen automatically because it is what is specified in the NuGet installer. However not all platforms and not all project types do this reliably.
For example if you select the Visual Studio "Create Web Site" option and then select an "ASP.NET Web Forms Site" you will get a web site without a project file. NuGet requires a project file for certain types of installations so it will leave some DLLs out. However if you instead select "Create Project" and select an "ASP.NET Web Application" then this will work fine.
Here we explain the installation process in case you need to do anything yourself.
At minimum you only need either ABCpdf.dll or ABCpdf.NET5.dll (for .NET 4 and .NET 5 respectively) and either ABCpdf13-32.dll or ABCpdf13-64.dll (for x86 and x64 respectively). If you are not sure then just copy all of them to your bin directory.
The extra DLLs and files which come with ABCpdf provide extra functionality like HTML import, 3D rendering and AcroForm JavaScript. They are not required for all deployments but we copy them to the bin directory as standard in case you need them.
For more details please see the Manual Installation section of the documentation.
License
When you run the installer a trial license is created for you. If you do not have a valid license - either full or trial - then an exception will be raised when you use methods like Doc.Save.
Most notably, if you Xcopy deploy to another machine, the license is not copied. So if you push your bin directory up to a machine in the cloud, you need to ensure that it gets a copy of your license.
To do this you can use code of the following form to be called before any ABCpdf objects are created.
if (!XSettings.InstallLicense(" **** insert your license key here *** ")) {
Response.Write("Could not install trial license. ");
Response.Write("You have: " + XSettings.LicenseDescription);
return;
}
The license key you need to insert will typically be a trial key which looks something like this.
"XeJREBodo/8B4SFWbfuBP42jLr5NPdtypry10sywB1pg4nufPib5NccZcUJK72QFBw=="
You can get your trial key from PDFSettings.exe - part of the ABCpdf installation. Alternatively you can run the following ASP.NET code to report your trial license.
Response.Write("Code for installation of trial license:</br>");
string key = System.Web.HttpUtility.HtmlEncode(XSettings.Key);
Response.Write("if (!XSettings.InstallLicense(\"" + key + "\")) {..</br>");
*** Azure ***
It is important to understand that Azure is not one thing - it is a set of varied types of virtual machines and devices. Some are simpler, cheaper and more restrictive. Some are more sophisticated.
Azure is also a rapidly moving target. What is current and default now, may not be in the future. With a growth of almost 100% every year, you have to expect a certain amount of change and perhaps even some rough edges.
ABCpdf will run on the default Azure instances. However the simpler default Azure instances do not have the features required for functionality like HTML import. For those you need a slightly different model. See our Azure deployment guide for details.
http://www.websupergoo.com/support-azure-abcpdf.htm
Sometimes ASP.NET Azure deployments are 32 bit. The platform itself is x64 but it may run code, by default, in a 32 bit space. You may wish to change this in your Azure settings.
Product | Versions 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 was computed. 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 | netcoreapp3.0 is compatible. netcoreapp3.1 is compatible. |
.NET Framework | net40 is compatible. net403 was computed. net45 was computed. net451 was computed. net452 was computed. net46 was computed. net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
-
.NETCoreApp 3.0
- No dependencies.
-
.NETCoreApp 3.1
- No dependencies.
-
.NETFramework 4.0
- No dependencies.
-
net5.0
- No dependencies.
-
net6.0
- No dependencies.
-
net7.0
- No dependencies.
NuGet packages (10)
Showing the top 5 NuGet packages that depend on ABCpdf:
Package | Downloads |
---|---|
ABCpdf.ABCGecko
The ABCpdf .NET Gecko runtime for HTML to PDF conversion using the Firefox rendering engine. ABCpdf operates three HTML rendering engines for insertion of HTML content. The ABCChrome engine provides google Chrome style HTML conversion. The MSHTML engine leverages IE as installed on the local machine. The Gecko runtime adds Firefox-style HTML rendering to the mix. Placed HTML support means your HTML can be treated just like any other media - placed wherever you like on the page. Paged HTML support allows you to flow your HTML from one area to another - across pages or columns or both. A vast range of options gives you full control over the HTML rendering process and DOM. In terms of features, probably most notably, the Gecko and Chrome engines support repeated table headers and footers. They are also extremely good on SVG and AJAX for charts and maps. The MSHTML and Chrome engines tends to be faster and the MSHTML engine provides a more literal screen based output. ABCChrome and Gecko generally support modern HTML features better than MSHTML. |
|
ABCpdf.ABCWebKit
The ABCpdf .NET ABCWebKit runtime for HTML to PDF conversion using the WebKit rendering engine. The ABCWebKit engine uses a signed version of WkHtmlToPdf. It's HTML rendering is based on a modified version of the QtWebKit API from Qt4 for which support ended in 2015. It is provided as a workaround solution for more restrictive operating system environments such as with Azure App Services. Given its lack of support it is recommeneded that you do not use it with any untrusted HTML but only for HTML/JavaScript that you have complete control over. |
|
CertiPay.PDF
This library is intended to wrap PDF generation code in our system |
|
ABCpdf.ABCChrome65
The ABCpdf .NET ABCChrome65 runtime for HTML to PDF conversion using the Chrome 65 rendering engine. ABCpdf operates three HTML rendering engines for insertion of HTML content. The ABCChrome engine provides google Chrome style HTML conversion. The MSHTML engine leverages IE as installed on the local machine. The Gecko runtime adds Firefox-style HTML rendering to the mix. Placed HTML support means your HTML can be treated just like any other media - placed wherever you like on the page. Paged HTML support allows you to flow your HTML from one area to another - across pages or columns or both. A vast range of options gives you full control over the HTML rendering process and DOM. In terms of features, probably most notably, the Gecko and Chrome engines support repeated table headers and footers. They are also extremely good on SVG and AJAX for charts and maps. The MSHTML and Chrome engines tend to be faster and the MSHTML engine provides a more literal screen based output. ABCChrome and Gecko generally support modern HTML features better than MSHTML. |
|
ABCpdf.ABCChrome123.Linux
The ABCpdf .NET ABCChrome123 Linux runtime for HTML to PDF conversion using the Chrome 123 rendering engine. You will need to reference this package if you are using ABCChrome123 on Windows and you want to deploy to a Linux platform. ABCpdf operates three HTML rendering engines for insertion of HTML content. The ABCChrome engine provides google Chrome style HTML conversion. The MSHTML engine leverages IE as installed on the local machine. The Gecko runtime adds Firefox-style HTML rendering to the mix. Placed HTML support means your HTML can be treated just like any other media - placed wherever you like on the page. Paged HTML support allows you to flow your HTML from one area to another - across pages or columns or both. A vast range of options gives you full control over the HTML rendering process and DOM. In terms of features, probably most notably, the Gecko and Chrome engines support repeated table headers and footers. They are also extremely good on SVG and AJAX for charts and maps. The MSHTML and Chrome engines tend to be faster and the MSHTML engine provides a more literal screen based output. ABCChrome and Gecko generally support modern HTML features better than MSHTML. |
GitHub repositories (1)
Showing the top 1 popular GitHub repositories that depend on ABCpdf:
Repository | Stars |
---|---|
matthidinger/DoddleReport
Generate custom reports (PDF, Excel, etc) from any IEnumerable datasource.
|
Version | Downloads | Last updated | |
---|---|---|---|
13.2.1 | 1,235 | 12/5/2024 | |
13.2.0 | 33,646 | 10/14/2024 | |
13.1.6 | 6,735 | 10/9/2024 | |
13.1.5 | 13,327 | 9/23/2024 | |
13.1.4 | 37,839 | 8/21/2024 | |
13.1.3 | 49,336 | 7/16/2024 | |
13.1.2 | 19,517 | 7/1/2024 | |
13.1.1 | 36,839 | 5/30/2024 | |
13.1.0 | 41,304 | 5/8/2024 | |
13.0.1.1 | 66,198 | 3/28/2024 | |
13.0.0.9 | 26,188 | 3/14/2024 | |
13.0.0.8 | 32,340 | 2/28/2024 | |
13.0.0.7 | 52,181 | 1/31/2024 | |
13.0.0.6 | 6,916 | 1/23/2024 | |
13.0.0.5 | 26,607 | 1/3/2024 | |
13.0.0.4 | 59,573 | 12/19/2023 | |
13.0.0.3-rc | 7,448 | 11/27/2023 | |
13.0.0.2-rc | 5,445 | 11/20/2023 | |
13.0.0.1-rc | 5,505 | 11/13/2023 | |
13.0.0-rc | 6,001 | 10/16/2023 | |
12.5.1 | 204,186 | 9/4/2023 | |
12.5.0.9 | 44,873 | 7/20/2023 | |
12.5.0.8 | 64,086 | 6/7/2023 | |
12.5.0.7 | 29,449 | 5/15/2023 | |
12.5.0.6 | 13,076 | 4/28/2023 | |
12.5.0.5 | 68,098 | 3/30/2023 | |
12.5.0.4 | 52,536 | 3/1/2023 | |
12.5.0.3 | 14,953 | 2/27/2023 | |
12.5.0.2 | 22,077 | 2/21/2023 | |
12.5.0.1 | 25,092 | 2/7/2023 | |
12.5.0 | 7,000 | 2/6/2023 | |
12.4.0.1 | 83,361 | 12/19/2022 | |
12.4.0 | 36,868 | 11/15/2022 | |
12.3.0.6 | 25,551 | 11/9/2022 | |
12.3.0.5 | 81,195 | 10/5/2022 | |
12.3.0.4 | 19,666 | 9/21/2022 | |
12.3.0.3 | 60,648 | 8/31/2022 | |
12.3.0.2 | 63,135 | 8/1/2022 | |
12.3.0 | 105,238 | 5/31/2022 | |
12.2.0.5 | 106,314 | 5/23/2022 | |
12.2.0.4 | 55,922 | 4/25/2022 | |
12.2.0.3 | 77,563 | 3/23/2022 | |
12.2.0.2 | 27,731 | 3/9/2022 | |
12.2.0.1 | 66,661 | 2/7/2022 | |
12.2.0 | 45,652 | 1/4/2022 | |
12.1.1 | 21,513 | 12/2/2021 | |
12.1.0.9 | 52,151 | 10/18/2021 | |
12.1.0.8 | 67,378 | 10/7/2021 | |
12.1.0.7 | 22,325 | 9/13/2021 | |
12.1.0.6 | 53,528 | 8/19/2021 | |
12.1.0.5 | 98,609 | 6/15/2021 | |
12.1.0.4 | 128,447 | 5/24/2021 | |
12.1.0.3 | 13,697 | 5/5/2021 | |
12.1.0.2 | 10,442 | 4/26/2021 | |
12.1.0.1 | 22,829 | 3/18/2021 | |
12.0.1.6 | 29,059 | 3/4/2021 | |
12.0.1.5 | 46,426 | 2/9/2021 | |
12.0.1.4 | 13,640 | 1/19/2021 | |
12.0.1.3-rc | 5,793 | 1/13/2021 | |
12.0.1.2-rc | 5,393 | 1/8/2021 | |
12.0.1.1-rc | 5,659 | 12/17/2020 | |
12.0.1-rc | 5,535 | 12/7/2020 | |
11.3.14 | 415,296 | 12/7/2020 | |
11.3.12 | 91,226 | 10/19/2020 | |
11.3.10 | 116,670 | 7/27/2020 | |
11.3.9 | 67,575 | 6/17/2020 | |
11.3.8 | 29,353 | 4/28/2020 | |
11.3.7 | 97,576 | 3/22/2020 | |
11.3.6 | 71,119 | 1/27/2020 | |
11.3.5 | 28,927 | 12/20/2019 | |
11.3.4 | 39,560 | 11/18/2019 | |
11.3.3 | 30,572 | 9/29/2019 | |
11.3.2 | 157,926 | 7/18/2019 | |
11.3.1 | 65,730 | 6/13/2019 | |
11.2.6 | 87,783 | 4/15/2019 | |
11.2.5 | 45,539 | 3/4/2019 | |
11.2.4 | 41,645 | 1/14/2019 | |
11.2.3 | 47,904 | 10/29/2018 | |
11.2.2 | 38,289 | 9/3/2018 | |
11.2.1 | 48,287 | 7/18/2018 | |
11.2.0 | 129,224 | 6/11/2018 | |
11.1.0.2 | 48,467 | 4/24/2018 | |
11.1.0.1 | 47,064 | 3/21/2018 | |
11.1.0 | 68,548 | 2/5/2018 | |
11.0.0.3 | 31,321 | 12/5/2017 | |
10.1.2.6 | 348,757 | 9/26/2017 | |
10.1.2.5 | 38,306 | 8/14/2017 | |
10.1.2.4 | 28,606 | 6/26/2017 | |
10.1.2.3 | 22,315 | 5/30/2017 | |
10.1.2.2 | 27,910 | 3/27/2017 | |
10.1.2.1 | 23,761 | 2/17/2017 | |
10.1.2 | 8,972 | 2/15/2017 | |
10.1.1.7 | 41,667 | 12/20/2016 | |
10.1.1.5 | 19,714 | 11/1/2016 | |
10.1.1.4 | 26,123 | 9/15/2016 | |
10.1.1.3 | 8,731 | 8/24/2016 | |
10.1.1.2 | 11,035 | 7/26/2016 | |
10.1.1.1 | 12,981 | 6/21/2016 | |
10.1.1 | 14,836 | 5/17/2016 | |
10.1.0.9 | 40,827 | 4/20/2016 | |
10.1.0.8 | 15,675 | 3/1/2016 | |
10.1.0.7 | 26,837 | 12/3/2015 | |
10.1.0.6 | 40,662 | 10/28/2015 | |
10.1.0.5 | 21,539 | 9/29/2015 | |
10.1.0.3 | 12,012 | 8/18/2015 | |
10.1.0.2 | 13,052 | 7/10/2015 | |
10.1.0 | 8,780 | 5/22/2015 | |
10.0.0 | 53,444 | 2/10/2015 | |
9.1.2.4 | 182,157 | 2/5/2015 | |
9.1.2.3 | 36,347 | 11/18/2014 | |
9.1.1.9 | 70,275 | 7/11/2014 | |
9.1.1.8 | 15,903 | 5/26/2014 | |
9.1.1.7 | 50,573 | 4/2/2014 | |
9.1.1.6 | 7,287 | 3/13/2014 | |
9.1.1.5 | 247,445 | 1/27/2014 | |
9.1.1.4 | 87,510 | 12/31/2013 | |
9.1.1.3 | 6,563 | 11/13/2013 | |
9.1.1.2 | 8,036 | 10/7/2013 | |
9.1.0.2 | 67,839 | 6/6/2013 | |
9.0.0.5 | 39,879 | 4/3/2013 |