SetTrackRevisions
Sets the change tracking mode.
Parameters:
Name |
Type |
Description |
isTrack |
boolean
|
Specifies if the change tracking mode is set or not. |
Returns:
-
This method doesn't return any data.
Example
Copy code
builder.CreateFile("docx");
var oDocument = Api.GetDocument();
var oParagraph = oDocument.GetElement(0);
oDocument.SetTrackRevisions(true);
oParagraph.AddText("Track revisions mode was set.");
builder.SaveFile("docx", "SetTrackRevisions.docx");
builder.CloseFile();
Resulting document