Get Started
Usage API

SetTrackRevisions

SetTrackRevisions(isTrack)

Set to track changes or not

Parameters:

Name Type Description
isTrack boolean

Returns:

This method doesn't return any data.

Example

Copy code
builder.CreateFile("docx");
oDocument = Api.GetDocument();
oParagraph = oDocument.GetElement(0);
oDocument.SetTrackRevisions(true);
oParagraph.AddText("Track revisions mode was set.");
builder.SaveFile("docx", "SetTrackRevisions.docx");
builder.CloseFile();

Resulting document