Freigeben über


Document.TrackMoves Property

Gets or sets a value that indicates whether to mark moved text when change tracking is turned on.

Namespace:  Microsoft.Office.Tools.Word
Assemblies:   Microsoft.Office.Tools.Word.v4.0.Utilities (in Microsoft.Office.Tools.Word.v4.0.Utilities.dll)
  Microsoft.Office.Tools.Word (in Microsoft.Office.Tools.Word.dll)

Syntax

'Declaration
Property TrackMoves As Boolean
bool TrackMoves { get; set; }

Property Value

Type: System.Boolean
true to mark moved text when change tracking is turned on; otherwise, false.

Remarks

By default, when change tracking is turned on, moved text is marked as deleted and inserted. When the TrackMoves property is true, moved text is marked as moved, and the text in the original location is marked with strikethrough formatting. This property corresponds to the Track Moves check box in the Track Change Options dialog box.

.NET Framework Security

See Also

Reference

Document Interface

Microsoft.Office.Tools.Word Namespace