Back to Devexpress

DocumentTrackChangesOptions.TrackFormatting Property

officefileapi-devexpress-dot-xtrarichedit-dot-api-dot-native-dot-documenttrackchangesoptions-9ce0b706.md

latest3.8 KB
Original Source

DocumentTrackChangesOptions.TrackFormatting Property

Specifies whether to track formatting changes made in this document.

Namespace : DevExpress.XtraRichEdit.API.Native

Assembly : DevExpress.RichEdit.v25.2.Core.dll

NuGet Package : DevExpress.RichEdit.Core

Declaration

csharp
bool TrackFormatting { get; set; }
vb
Property TrackFormatting As Boolean

Property Value

TypeDescription
Boolean

true , to track formatting changes, otherwise, false.

|

Property Paths

You can access this nested property as listed below:

Object TypePath to TrackFormatting
Document

.TrackChanges .TrackFormatting

|

The following code snippets (auto-collected from DevExpress Examples) contain references to the TrackFormatting property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

word-document-api-use-track-changes/CS/word-processing-document-api-track-changes/Program.cs#L21

csharp
documentTrackChangesOptions.Enabled = true;
documentTrackChangesOptions.TrackFormatting = true;
documentTrackChangesOptions.TrackMoves = true;

winforms-rich-edit-manage-tracked-changes/CS/XtraRichEdit_TrackChanges/Form1.cs#L33

csharp
richEditControl1.Document.TrackChanges.Enabled = true;
richEditControl1.Document.TrackChanges.TrackFormatting = true;
//Format the specific phrase in the document:

word-document-api-use-track-changes/VB/word-processing-document-api-track-changes/Program.vb#L18

vb
documentTrackChangesOptions.Enabled = True
documentTrackChangesOptions.TrackFormatting = True
documentTrackChangesOptions.TrackMoves = True

winforms-rich-edit-manage-tracked-changes/VB/XtraRichEdit_TrackChanges/Form1.vb#L27

vb
richEditControl1.Document.TrackChanges.Enabled = True
richEditControl1.Document.TrackChanges.TrackFormatting = True
'Format the specific phrase in the document:

See Also

DocumentTrackChangesOptions Interface

DocumentTrackChangesOptions Members

DevExpress.XtraRichEdit.API.Native Namespace