阅读背景:

【Spire.Doc】合并 Word 文档,将多个文档合并为一个_GreAmbWang的博客

来源:互联网 

使用C#

 

在文档后添加新页合并

private void SaveToFileInsertText(string sourcePath, string insertPath, string saveToPath)
{
    Document doc = new Document(sourcePath);
    doc.InsertTextFromFile(insertPath, FileFormat.Docx);
    doc.SaveToFile(saveToPath, FileFormat.Docx);
    doc.Close();
}
private void SaveToFile



你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: