Spire.Doc is a professional Word .NET library specifically designed for developers to create, read, write, convert and print Word document files from any .NET platform (C#, VB.NET, ASP.NET, .NET Core) and Java applications (J2SE and J2EE) with fast and high quality performance.

Tue Jul 26, 2022 8:30 am

I am replacing text in a word document and it works fine:
Code: Select all
document.replace("word", "newWord",false, true);

but is there a way to replace this text with the track change to accept or reject the change?

Thanks in advance.

Posts: 4
Joined: Thu Jun 16, 2022 7:50 am

Tue Jul 26, 2022 10:07 am

Hi Borja,

Thanks for your inquiry.

I tried to modify the document content after enabling trace tracking, but these traces are only recorded by Spire.Doc in some cases. Unfortunately, using document.replace and deleting content directly are not recorded. I have logged this issue in our bug tracking system with the ticket SPIREDOC-8248. I will notify you in time when it fixes. Apologize for the inconvenience caused.
E-iceblue support team
User avatar

Posts: 483
Joined: Mon Mar 29, 2021 3:03 am

Return to Spire.Doc