Microsost Office Interop Word - enable / disable track changes in C #

How to enable or disable change tracking in C #.

+4
source share
3 answers

I think you are looking for this property.

Document.TrackRevisions

as from MSDN

This property returns True if changes are tracked in the specified document, and False if they are not. Set the property to True or False to enable or disable functionality.

+7
source

Set

wordDocument.TrackRevisions = true; 
+3
source

Enable track changes:

 wordDocument.TrackRevisions = true; 

Disable track changes:

 wordDocument.TrackRevisions = false; 
+1
source

All Articles