Dela via


Document.TrackMoves Property (2007 System)

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

Namespace:  Microsoft.Office.Tools.Word
Assembly:  Microsoft.Office.Tools.Word.v9.0 (in Microsoft.Office.Tools.Word.v9.0.dll)

Syntax

'Declaration
Public Property TrackMoves As Boolean
'Usage
Dim instance As Document 
Dim value As Boolean 

value = instance.TrackMoves

instance.TrackMoves = value
public bool TrackMoves { get; set; }
public:
property bool TrackMoves {
    bool get ();
    void set (bool value);
}
public function get TrackMoves () : boolean 
public function set TrackMoves (value : boolean)

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 Class

Document Members

Microsoft.Office.Tools.Word Namespace