Render 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 WordProcessingOptions.RenderTrackedChanges property of HtmlViewOptions (or JpgViewOptions, or PngViewOptions, 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.

using (Viewer viewer = new Viewer("sample.docx"))
    HtmlViewOptions viewOptions = HtmlViewOptions.ForEmbeddedResources();
    viewOptions.WordProcessingOptions.RenderTrackedChanges = true;