http://cathalscorner.blogspot.hk/2010/06/cathal-why-did-you-create-docx.html

using (DocX document = DocX.Load(@"C:\source\3.docx"))
{
  Formatting mFormatting=new Formatting();

  document.ReplaceText("«bbbb»", "bbbaaaaaaaaaaa",

  false, RegexOptions.Singleline, null, null, MatchFormattingOptions.ExactMatch, true, true);


  document.Save();

}

相关文章:

  • 2021-09-19
  • 2022-12-23
  • 2021-07-06
  • 2021-11-15
  • 2022-12-23
  • 2022-03-03
猜你喜欢
  • 2022-01-08
  • 2022-01-06
  • 2021-07-05
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案