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) 编辑