posts - 194,  comments - 1484,  trackbacks - 6
Code Snippets
This page contains various code snippets that really don't belong anywhere else.
Delphi 版本的获取PDF页数算法--PDF Page Count Algorithm(Delphi source code)
摘要: It's not often that you can't find coding examples on the internet to do basic programming tasks, so I was surprised when I couldn't find code to determine the page count of PDF documents.

I've had to return to my old hacking ways (ie 'hacking' in its original sense). I visited my favorite hacking website - www.wotsit.org, downloaded the PDF document specifications and got coding.

It didn't take too long to construct a reasonably efficient algorithm which does what I want. I've阅读全文
posted @ 2006-06-26 16:12 RubyPDF 阅读(1561) | 评论 (0) 编辑
DateDiff in c#(转载:DateDiff 方法在C#中的实现)
摘要: This article explains how a DateDiff function can be implemented in C#

DateDiff function is a very powerful global method available in VB .Net.
Unfortunately this function for reasons known only to Microsoft, is not available in C#.
DateDiff 在VB.Net中是一个非常有用的方法,很遗憾C#中却没有这个方法,那么我们实现一个。阅读全文
posted @ 2006-05-17 17:36 RubyPDF 阅读(3556) | 评论 (6) 编辑
A VB module to merge PDFs to One,Need full version Acrobat
摘要: 一个利用Acrobat SDK合并PDF的VB Module阅读全文
posted @ 2006-03-16 21:27 RubyPDF 阅读(468) | 评论 (0) 编辑
Exports datatable to CSV or Excel format
摘要: 导出datatable为CSV或者XlS格式阅读全文
posted @ 2005-12-27 17:17 RubyPDF 阅读(2926) | 评论 (1) 编辑