ABCpdf.ABCChrome117
13.1.4
Prefix Reserved
See the version list below for details.
dotnet add package ABCpdf.ABCChrome117 --version 13.1.4
NuGet\Install-Package ABCpdf.ABCChrome117 -Version 13.1.4
<PackageReference Include="ABCpdf.ABCChrome117" Version="13.1.4" />
paket add ABCpdf.ABCChrome117 --version 13.1.4
#r "nuget: ABCpdf.ABCChrome117, 13.1.4"
// Install ABCpdf.ABCChrome117 as a Cake Addin #addin nuget:?package=ABCpdf.ABCChrome117&version=13.1.4 // Install ABCpdf.ABCChrome117 as a Cake Tool #tool nuget:?package=ABCpdf.ABCChrome117&version=13.1.4
ABCChrome
This is the ABCChrome117 HTML conversion module.
It is intended for use with the ABCpdf NuGet package. ABCChrome will not function without it.
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.1.4)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.