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

Free Support Forum - aspose.com

How do i enable track changes in a word document?

Hello,



I need to auto enable track changes in any document that is being saved In my application. how can I set any word document to enable track changes ?



best regards,

Roei.

Hi Roei,

Thanks for your inquiry. Please set Document.TrackRevisions property as true to achieve your requirements.When the value of this property is true the changes are tracked when document is edited in Microsoft Word.

Document doc = new Document(MyDir + "in.docx");

doc.TrackRevisions = true;

doc.Save(MyDir + "Out.docx");


Setting this option only instructs Microsoft Word whether the track changes is turned on or off. This property has no effect on changes to the document that you make programmatically via Aspose.Words.

If you want to automatically track changes as they are made programmatically by Aspose.Words to this document use the Document.StartTrackRevisions method.