原创 用C#實現生成PDF文檔

//write by wenhui.orgusing System;using System.IO;using System.Text;using System.Collections;namespace PDFGenerator{pub

原创 獲取短文件名或路徑

一直在找.Net獲取短文件名或路徑的函數,可能自己笨沒有找到就自己寫了一個.是通過調用WinApi函數實現的.1.聲明GetShortPathNameA  [DllImport("kernel32.dll",EntryPoint="Get