CPechkin 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();

Install-Package CPechkin -Version 0.0.9.12
dotnet add package CPechkin --version 0.0.9.12
<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
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

QQ:574852099

Dependencies

This package has no dependencies.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
0.0.9.12 16,137 9/11/2015