在Windows窗体中创建PDF或DOC文档 [英] Creating PDF or DOC Documents in Windows Form

查看:184
本文介绍了在Windows窗体中创建PDF或DOC文档的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我目前正在Microsoft Visual C#2008中设计采购订单系统,想知道是否有任何有用的项目或自定义dll.我已经尝试了诸如pdfClown之类的解决方案,但没有成功.

将使用文本框,组合框和标签创建PDF或DOC,这些文本框,组合框和标签是从存储在SQL Server中的数据中填充的.

请帮忙!我已经尝试将其完成近2个星期了.

谢谢

Danny

I''m currently designing a purchase order system in Microsoft Visual C# 2008 and wanted to know if thier are any projects or custom dll''s which would be useful. I''ve already tried solutions such as pdfClown to no success.

The PDF or DOC would be created from using textboxes, comboboxes and labels which have been populated from data stored on a SQL server.

Please help! I''ve been trying to complete this for near 2 weeks now.

Thanks

Danny

推荐答案

很多建议这些建议 [
Lots of suggestions here[^]. It''s impossible to provide more information than this, as the actual formatting of your data has to be done by your program making calls to the specific library that you decide to implement. You can, of course, create a Word document direct by using one of these suggestions[^].


我已经找到了一个非常有用的dll,名为iTextSharp可以从 http://itextpdf.com/ [ http://www.mikesdotnetting.com/Article/80/Create-PDFs-in-ASP.NET-getting-started-with-iTextSharp [ http://blog.rubypdf.com/itextsharp/tutorial01/ [ ^ ]

到目前为止,这已经证明是有用的,并且我正在从dll编码一个自定义类库,以使从c#创建pdf更加容易.
I''ve found a very useful dll called iTextSharp which can be downloaded from http://itextpdf.com/[^]. There is also a list of basic tutorials here http://www.mikesdotnetting.com/Article/80/Create-PDFs-in-ASP.NET-getting-started-with-iTextSharp[^] and here http://blog.rubypdf.com/itextsharp/tutorial01/[^]

This has proved to be useful (so far) and I''m coding a custom class library from the dll to make it much easier to create pdf''s from c#.


这篇关于在Windows窗体中创建PDF或DOC文档的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆