CPechkin 0.0.9.12

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

// Install CPechkin as a Cake Tool
#tool nuget:?package=CPechkin&version=0.0.9.12                

本插件是在Pechkin的基础上,基于.NET2.0开发,剔除Common.Loging依赖,支持多个网页生成一个PDF功能。底层DLL是x86的,所以适用插件的项目必须是x86编译。否则会出现无法加载dll问题。

多网页生成PDF简单实例:
SynchronizedPechkin sc = new SynchronizedPechkin(new GlobalConfig().SetMargins(new Margins(100, 100, 100, 100)));
IList<Uri> uris = new List<Uri>
           {
               new Uri(@"http://www.baidu.com/"),
               new Uri(@"c://1.html")
           };
           byte[] buf = sc.Convert(uris);

string fn = Path.GetTempFileName() + ".pdf";

               FileStream fs = new FileStream(fn, FileMode.Create);
               fs.Write(buf, 0, buf.Length);
               fs.Close();

Product Compatible and additional computed target framework versions.
.NET Framework net20 is compatible.  net35 was computed.  net40 was computed.  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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

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
0.0.9.12 37,730 9/11/2015

QQ:574852099