Delphi下操作PDF文件的控件

最近想做个小工具,需要对PDF文件进行操作,主要是文件解密、合并、添加书签和添加一些简单的文字到PDF中,当然要支持中文。在网络上找了一下,支持PDF文件生成的控件真多,但是支持文件合并和修改的就不是那么多了。最后,发现满足要求的控件有两个:一个是 Gnostice的PDFToolkit,另一个是iSEDQuickPDF。两个软件都提供对PDF文件的操作能力,而且都有VCL版本。iSEDQuickPDF一个控件中还提供了生成PDF的能力,而Gnostice的PDFToolkit不提供创建PDF文件的功能,要生成PDF,需要使用该公司的另一个产品:eDocEngine。刚开始,我由于不愿意在这个小工具中使用两个控件,就选择了iSEDQuickPDF。很快,这个小工具就开发完了,iSEDQuickPDF确实是个不错的工具,但接下来发现了一些棘手的问题,iSEDQuickPDF控件似乎已经停止更新了,而且在网站的论坛上提问也得不到回答。软件的使用者自发建立了一个网站 http://www.quickpdf.org/,在这个网站上可以找到更新的版本和一个不错得手册,也有很多使用者在交流问题,只是人气不旺。而回过头来,Gnostice似乎仍然生机勃勃,不断更新产品。现在有点后悔了,选择了一个即将死亡的产品,日后得维护工作将变得困难了 10.gif
从这件事得到一个教训,以后选择软件一定要看它更新的频率和技术支持的相应速度。将来再做类似项目,一定选择Gnostice了。

转载于:https://www.cnblogs.com/zealsoft/archive/2006/07/04/442835.html

  • 0
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
WPViewPDF is a powerful pdf viewer control which allows you to view and print PDF data. The data can be loaded from memory, file or stream. As "PLUS" edition it can be used to merge PDF files into a new, single file. You can extract PDF pages or delete pages. It is also possible to add vector and text graphic to PDF files (stamping). Unlike many competing products WPViewPDF displays even large PDF files instantly. This component has been developed as a window class which makes it compatible to most Windows based development systems. Out of the box it can be used as ActiveX (OCX), in .NET development environments (i.e. Visual Studio 2010) and as VCL in Delphi and C++Builder. You can download a demo which includes the component as .NET, Delphi and ActiveX component and a small example application. The source for the components (C# and Pascal) is included as well. It also includes an executable demo. The new Version 3 is the result of extensive work. We completely re-thought the logic which is require to load, render and manipulate PDF data to create this new version. It makes use of clever and effective caching for quick response times. It also makes use of multithreading for better user interaction. We revised the PrintHDC method - printing to any windows device should be now much easier to do than before and produce higher quality. The multithreaded scrolling viewer can change quickly change between zoom states and various layout modes, including multi column display and side by side page layout. It can also display a separate thumbnail view to the PDF. Unlike version 1 and 2 the new version 3 uses floating point numbers for graphic output which offers better print results for many PDF files. Despite the higher text rendering quality, printing will be faster since less data has to be transferred to the printer. Version 3 PLUS introduce a new stamping method which also it to place objects or highlighting rectangles on the page. This objects can be moved and sized by the user. But we also implemented the scripted stamping because it makes it so easy to add titles or page numbers to a range of pages. You can modify the existing bookmarks by loading the structure as XML. It is also possible to extract the current bookmarks as XML. Text extraction now also creates text in rich text format (RTF) - here the logic tries to make use of PDF tags to keep text together which belongs together. The field support has been enhanced for better compatibility with existing PDF files. We work to add the ability to create new fields to the "PLUS" Edition. Supports 32 bit and also 64 bit applications!

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值