如题: 有朋友解决了没?主要是实现中文网页的转换。
解决方案 »
- Winform窗体特效
- 大家好,在的帮个忙,问个关于treeview的问题
- 如何获得LIST<T>的内容
- 一个关于C#的windows应用程序问题
- sje422刷卡机问题咨询
- IErrorInfo.GetDescription 因 E_FAIL(0x80004005) 而失败????
- 请教一个问题,请问一下如何实现能计算的文本公式?
- C#的效率就这么低吗?难道是因为C++与c#的构架差异!高手请进!
- 做个局域网游戏,服务器用TCPlistener,客户端用Socket,当服务器连续向客户端发送数据时,客户端响应不过来,怎么解决?
- windows server 2008r2下没有dcom配置
- __doPostBack 和 GetPostBackEventReference 的问题
- 如何禁止部分代码的调试?
private void HtmlToPDF(string HtmlPath,string PdfPath)
{
Document document = new Document(PageSize.A4, 80, 50, 30, 65);
try
{
PdfWriter.GetInstance(document, new FileStream(PdfPath, FileMode.Create)); HtmlParser.Parse(document, HtmlPath); document.Close();
}
catch(Exception e)
{
document=null;
throw e;
}
}