IsTrackRevisions
Checks if change tracking mode is enabled or not.
Parameters:
This method doesn't have any parameters.
Returns:
- Type
-
boolean
Example
Copy code
builder.CreateFile("docx");
var oDocument = Api.GetDocument();
var oParagraph = oDocument.GetElement(0);
oDocument.SetTrackRevisions(true);
var bTrackRevisions = oDocument.IsTrackRevisions();
oParagraph.AddText("Change tracking is enabled: " + bTrackRevisions);
builder.SaveFile("docx", "IsTrackRevisions.docx");
builder.CloseFile();
Resulting document