嘿,亲!知识可是无价之宝呢,但咱这精心整理的资料也耗费了不少心血呀。小小地破费一下,绝对物超所值哦!如有下载和支付问题,请联系我们QQ(微信同号):78630559
本次赞助数额为: 2 元微信扫码支付:2 元
请留下您的邮箱,我们将在2小时内将文件发到您的邮箱
Aspose.Words 破解版 完美去水印
var fileName = System.Guid.NewGuid().ToString("N") ".docx";
string filePath = webRootPath AbsoluteFileAddress;Directory.CreateDirectory(filePath);
string templetpPath = AppDomain.CurrentDomain.BaseDirectory "核心网周工单生成模板.docx"; //模板路径
Document doc = new Document(templetpPath); //载入模板
DocumentBuilder builder = new DocumentBuilder(doc);
//插入富文本
string text = File.ReadAllText(AppDomain.CurrentDomain.BaseDirectory "text.txt");
builder.InsertHtml(text);
var path = filePath fileName;
doc.Save(path, Aspose.Words.Saving.SaveOptions.CreateSaveOptions(SaveFormat.Docx));
【文件目录】
WordToPdf
├── WordToPdf
│ ├── WordToPdf
│ │ ├── Program.cs
│ │ ├── WordToPdf.csproj
│ │ ├── bin
│ │ │ └── Debug
│ │ │ └── netcoreapp2.1
│ │ │ ├── Aspose.Words.dll
│ │ │ ├── WordToPdf.deps.json
│ │ │ ├── WordToPdf.dll
│ │ │ ├── WordToPdf.pdb
│ │ │ ├── WordToPdf.runtimeconfig.dev.json
│ │ │ └── WordToPdf.runtimeconfig.json
│ │ ├── lib
│ │ │ └── Aspose.Words.dll
│ │ └── obj
│ │ ├── Debug
│ │ │ ├── netcoreapp2.0
│ │ │ │ ├── WordToPdf.AssemblyInfo.cs
│ │ │ │ ├── WordToPdf.AssemblyInfoInputs.cache
│ │ │ │ ├── WordToPdf.assets.cache
│ │ │ │ ├── WordToPdf.csproj.CopyComplete
│ │ │ │ ├── WordToPdf.csproj.CoreCompileInputs.cache
│ │ │ │ ├── WordToPdf.csproj.FileListAbsolute.txt
│ │ │ │ ├── WordToPdf.csprojResolveAssemblyReference.cache
│ │ │ │ ├── WordToPdf.dll
│ │ │ │ └── WordToPdf.pdb
│ │ │ └── netcoreapp2.1
│ │ │ ├── TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs
│ │ │ ├── TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs
│ │ │ ├── TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs
│ │ │ ├── WordToPdf.AssemblyInfo.cs
│ │ │ ├── WordToPdf.AssemblyInfoInputs.cache
│ │ │ ├── WordToPdf.assets.cache
│ │ │ ├── WordToPdf.csproj.CopyComplete
│ │ │ ├── WordToPdf.csproj.CoreCompileInputs.cache
│ │ │ ├── WordToPdf.csproj.FileListAbsolute.txt
│ │ │ ├── WordToPdf.csprojResolveAssemblyReference.cache
│ │ │ ├── WordToPdf.dll
│ │ │ └── WordToPdf.pdb
│ │ ├── WordToPdf.csproj.nuget.cache
│ │ ├── WordToPdf.csproj.nuget.g.props
│ │ ├── WordToPdf.csproj.nuget.g.targets
│ │ └── project.assets.json
│ └── WordToPdf.sln
└── aspose.word18.7破解版.zip
10 directories, 36 files