Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin

...

Description

Excerpt

Sets or returns a boolean that represents whether or not Word will track changes for this document.

Signature
C#
C#
 public boolean TrackChanges{ get; set; }
{signature}{signature:
}
Signature
vb.net
vb.net
Public Property TrackChanges() As Boolean
{signature}
{remarks}This is set to false by default.

MS Word equivalent: Tools menu > Track Changes

{remarks}
{example}{code:csharp|title=C#}
Remarks

This is set to false by default.

MS Word equivalent: Tools menu > Track Changes

Example
Code Block
csharp
csharp
titleC#


          //--- Return TrackChanges
          bool trackChanges = changeTracking.TrackChanges;

          //--- Set TrackChanges
          changeTracking.TrackChanges = true;
        
{code} {code:
Code Block
vb.net
|title=
vb.net
titlevb.net
}


          '--- Return TrackChanges
          Dim trackChanges As Boolean = changeTracking.TrackChanges

          '--- Set TrackChanges
          changeTracking.TrackChanges = True
        
{code} {example}