
iTextSharp生成pdf
文章平均质量分 66
wangfu_02
这个作者很懒,什么都没留下…
展开
-
创建简单的pdf文件
使用iTextSharp生成pdf文件,需要引用ItextSharp.dll和ICSharpCode.SharpZipLib.dll.相关dll可以下载附件 创建第一个简单的pdf文件://定义pdf采用a4页大小iTextSharp.text.Rectangle rect = new iTextSharp.text.Rectangle(PageSize.A4.Width, Pag...原创 2012-06-07 15:23:30 · 225 阅读 · 0 评论 -
使用Chapter和Section生成文档结构图
iTextSharp中提供了Chapter和Section,可以用来生成文档结构图样式的pdf文档iTextSharp.text.Rectangle rect = new iTextSharp.text.Rectangle(PageSize.A4.Width, PageSize.A4.Height);rect.BackgroundColor = new BaseColor(ColorTra...原创 2012-06-07 15:43:39 · 902 阅读 · 0 评论