Aspose.Words操作word生成PDF文档 using Aspose.Words; using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace TempAspose.Words.Function { public class WordToPdf { private string _TempPath; //模版路径 private Aspose.Words.D…
最近在做关于PDF文档添加水印的功能,折腾了好久,终于好了.以下做个记录: 首先会用到iTextSharp组件,大家可以去官网下载,同时我也会在本文中附加进来. 代码中添加引用为: using System; using System.Collections.Generic; using System.Linq; using System.Text; using iTextSharp.text.pdf; using System.IO; using iTextSharp.text; 创建…