1
任何人都可以告诉我如何使用字节数组创建PDF文件吗?我尝试了这两种方法,但没有运气。使用字节数组创建PDF文件c#/ asp.net
1) System.IO.File.WriteAllBytes(filePath, bytesArray);
2) using (System.IO.Stream stream = new System.IO.FileStream(filePath, System.IO.FileMode.Create))
{
stream.Write(bytesArray, 0, bytesArray.Length);
}
或者我需要使用任何第三方组件来做同样的事情。
任何帮助将不胜感激...提前致谢。
使用[iTextSharp的(http://sourceforge.net/projects/itextsharp/) – mshsayem 2012-04-06 02:50:03