Udostępnij za pośrednictwem


DocumentBase.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
Assembly:  Microsoft.Office.Tools.Word.v4.0.Utilities (in Microsoft.Office.Tools.Word.v4.0.Utilities.dll)

Syntax

'Declaration
Public Property TrackMoves As Boolean
    Get
    Set
public 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

DocumentBase Class

Microsoft.Office.Tools.Word Namespace