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;

More resources

View Word Files Online

Along with full-featured .NET library we provide simple but powerful free online Apps. View DOC, DOCX, RTF, and ODT files online with GroupDocs Viewer App.

GitHub Examples

You may easily run the code above and see the feature in action in our GitHub examples: