[英]QuickPDF library for converting local html pages to pdf
I want to use QUICKPDF library in my C# windows form project. 我想在我的C#Windows窗体项目中使用QUICKPDF库。 I want to convert the local HTMl pages to PDF .
我想将本地HTMl页面转换为PDF。 Is it possible to convert 'local html' pages using quickpdf dll.
是否可以使用quickpdf dll转换“本地html”页面。
Thanks. 谢谢。
This is an example of converting html to pdf using quickpdf 这是使用quickpdf将html转换为pdf的示例
// Setup the parameters
string fileName = "C:\\example.pdf";
string licenseKey = "...";
// Create the library
QuickPDFAX0712.PDFLibrary qp = new QuickPDFAX0712.PDFLibrary();
// Unlock the library
qp.UnlockKey(licenseKey);
qp.DrawHTMLText(40, 760, 200, "Here is some <b>bold</b>, <i>italic</i> and <u>underlined</u> text");
qp.DrawHTMLText(40, 730, 200, "<ul><li>This</li><li>is</li><li>a</li><li>bullet</li><li>list</li></ul>");
// Save the new PDF that you've created.
qp.SaveToFile(fileName);
Hello you can use this library 您好,您可以使用此库
http://www.essentialobjects.com/Products/EOPdf/Default.aspx http://www.essentialobjects.com/Products/EOPdf/Default.aspx
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.