文件名称:AsposeWord文档处理类.rar
文件大小:4.64MB
文件格式:RAR
更新时间:2022-07-25 04:35:31
Aspose Word 破解
个人项目需要网上找了N久,亲测可用,无限制,无提示 版本17.20.0.0 简单的代码示例 string fFrom = Server.MapPath("test.docx"); string fSave = Server.MapPath("test.pdf"); string imgSave = Server.MapPath("test.png"); string hbSave = Server.MapPath("testHB.docx"); //Spire.Doc.Document mydoc = new Spire.Doc.Document(); //mydoc.LoadFromFile(fFrom, FileFormat.Docx); //mydoc.SaveToFile(fSave, Spire.Doc.FileFormat.PDF); ////word转图片 //ImageSaveOptions options = new ImageSaveOptions(SaveFormat.Jpeg); //options.Resolution = 120; //options.PrettyFormat = true; //options.UseAntiAliasing = true; //Aspose.Words.Document doc = new Aspose.Words.Document(fFrom); //doc.Save(imgSave, options); ////word转PDF //Aspose.Words.Document doc = new Aspose.Words.Document(fFrom); //doc.Save(fSave, SaveFormat.Pdf); //合并多个文档 Aspose.Words.Document doc = new Aspose.Words.Document(fFrom); Aspose.Words.Document doc1 = new Aspose.Words.Document(fFrom); Aspose.Words.Document doc2 = new Aspose.Words.Document(fFrom); doc.AppendDocument(doc1, ImportFormatMode.KeepDifferentStyles); doc.AppendDocument(doc2, ImportFormatMode.KeepDifferentStyles); doc.AppendDocument(doc2, ImportFormatMode.KeepDifferentStyles); doc.AppendDocument(doc2, ImportFormatMode.KeepDifferentStyles); //doc.Save(hbSave, SaveFormat.Docx); doc.Save(fSave, SaveFormat.Pdf);
【文件预览】:
Aspose.Words.dll
使用方法.txt