ABCpdf.ABCChrome117.Linux
13.2.1
Prefix Reserved
dotnet add package ABCpdf.ABCChrome117.Linux --version 13.2.1
NuGet\Install-Package ABCpdf.ABCChrome117.Linux -Version 13.2.1
<PackageReference Include="ABCpdf.ABCChrome117.Linux" Version="13.2.1" />
paket add ABCpdf.ABCChrome117.Linux --version 13.2.1
#r "nuget: ABCpdf.ABCChrome117.Linux, 13.2.1"
// Install ABCpdf.ABCChrome117.Linux as a Cake Addin #addin nuget:?package=ABCpdf.ABCChrome117.Linux&version=13.2.1 // Install ABCpdf.ABCChrome117.Linux as a Cake Tool #tool nuget:?package=ABCpdf.ABCChrome117.Linux&version=13.2.1
ABCChrome
This is the ABCChrome117 HTML conversion module for Linux.
The base ABCpdf NuGet package includes ABCChrome117 for Windows but not for Linux because of size constraints.
To deploy to Linux you will need to reference this package in addition to the base ABCpdf package. At that point you can publish to Linux.
See the following section of the documentation for a walkthrough.
https://www.websupergoo.com/helppdfnet/source/2-getting_started/6-platforms.htm
Example Code
First you need to ensure you are using the correct namespace. Insert the following at the top of your C# module.
using WebSupergoo.ABCpdf13;
You select this HTML conversion module by setting the HtmlOptions.Engine property.
For example, if you are in a forms or console application, the following may be useful.
using (Doc doc = new Doc()) {
doc.HtmlOptions.Engine = EngineType.Chrome117;
doc.AddImageUrl("http://www.google.com/");
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.HtmlOptions.Engine = EngineType.Chrome117;
doc.AddImageUrl("http://www.google.com/");
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.
Learn more about Target Frameworks and .NET Standard.
-
- ABCpdf (= 13.2.1)
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 |
---|---|---|
13.2.1 | 351 | 12/5/2024 |
13.2.0 | 828 | 10/14/2024 |
13.1.6 | 346 | 10/9/2024 |
13.1.5 | 451 | 9/23/2024 |
13.1.4 | 573 | 8/21/2024 |
13.1.3 | 412 | 7/16/2024 |
13.1.2 | 358 | 7/1/2024 |
13.1.1 | 426 | 5/30/2024 |
13.1.0 | 657 | 5/8/2024 |
13.0.1.1 | 5,845 | 3/28/2024 |
13.0.0.9 | 1,269 | 3/14/2024 |
13.0.0.8 | 1,622 | 2/28/2024 |
13.0.0.7 | 5,450 | 1/31/2024 |
13.0.0.6 | 635 | 1/23/2024 |
13.0.0.5 | 1,110 | 1/3/2024 |