SetTrackRevisions
Sets the change tracking mode.
Syntax
expression.SetTrackRevisions(isTrack);
expression
- A variable that represents a ApiDocument class.
Parameters
Name | Required/Optional | Data type | Default | Description |
---|---|---|---|---|
isTrack | Required | boolean | Specifies if the change tracking mode is set or not. |
Returns
This method doesn't return any data.
Example
This example sets the change tracking mode.
let doc = Api.GetDocument();
let paragraph = doc.GetElement(0);
doc.SetTrackRevisions(true);
paragraph.AddText("Track revisions mode was set.");