ABCpdf.ABCChrome123.Linux 13.1.2

Prefix Reserved
There is a newer version of this package available.
See the version list below for details.
dotnet add package ABCpdf.ABCChrome123.Linux --version 13.1.2                
NuGet\Install-Package ABCpdf.ABCChrome123.Linux -Version 13.1.2                
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="ABCpdf.ABCChrome123.Linux" Version="13.1.2" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add ABCpdf.ABCChrome123.Linux --version 13.1.2                
#r "nuget: ABCpdf.ABCChrome123.Linux, 13.1.2"                
#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 ABCpdf.ABCChrome123.Linux as a Cake Addin
#addin nuget:?package=ABCpdf.ABCChrome123.Linux&version=13.1.2

// Install ABCpdf.ABCChrome123.Linux as a Cake Tool
#tool nuget:?package=ABCpdf.ABCChrome123.Linux&version=13.1.2                

ABCChrome

This is the ABCChrome123 HTML conversion module for Linux.

The base ABCpdf NuGet package includes ABCChrome123 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.Chrome123;
	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.Chrome123;
	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.

There are no supported framework assets in this package.

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
13.2.0 2,751 10/14/2024
13.1.6 469 10/9/2024
13.1.5 982 9/23/2024
13.1.4 1,965 8/21/2024
13.1.3 3,812 7/16/2024
13.1.2 2,396 7/1/2024
13.1.1 5,075 5/30/2024
13.1.0 9,378 5/8/2024