Rendering tracked changes

GroupDocs.Viewer does not render tracked changes of Word Processing documents by default. If you want to see tracked changes in your rendering result, use setRenderTrackedChanges() property of WordProcessingOptions that can be set using property setWordProcessingOptions() of HtmlViewOptionsJpgViewOptionsPngViewOptions or PdfViewOptions class and pass it to Viewer object constructor.

Follow below steps to render WordProcessing document with tracked changes.

The following code sample shows how to render a Word document including tracked changes.

    try (Viewer viewer = new Viewer("sample.docx")) {
        HtmlViewOptions viewOptions = HtmlViewOptions.forEmbeddedResources();