We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Keep Track Changes on with a password

In regards to enable track changes in Word output – is there a way to lock that feature so an end user could not turn it off when they receive the Word Doc?

This is possible via Word (as below), I am just wondering if we can set it using the Aspose API ?

From word documentation:
Keep Track Changes on with a password
To help make sure Word tracks everyone’s changes, keep Track Changes on by locking it.

  1. Click Review.

  2. Click the arrow by Track Changes and click Lock Tracking.

  3. Type a password, and then type it again in the Reenter to confirm box.
    Tip Choose a password that’s easy for you to remember. Word doesn’t reveal the passwords people set.

  4. Click OK.

While Track Changes is locked, you can’t turn off change tracking, and you can’t accept or reject the changes.
To unlock Track Changes, click the arrow by Track Changes and click Lock Tracking again. Word prompts you to type your password. After you type your password and click OK, you can accept or reject changes and turn off Track Changes.

Hi Gaetan,

Thanks for your inquiry. Unfortunately, Aspose.Words does not support the requested feature at the moment. However, I have logged this feature request as WORDSNET-10871 in our issue tracking system. You will be notified via this forum thread once this feature is available.

We apologize for your inconvenience.

Hi Gaetan,

Thanks for your patience. Please use the following code example to achieve your requirements and let us know if you have any more queries.

Document doc = new Document();
doc.TrackRevisions = true;
doc.Protect(ProtectionType.AllowOnlyRevisions, "1");
doc.Save(MyDir + "TrackChangesLocked.docx");