Free Support Forum -

EndNote Comparison is not getting in .Net Version


Hi Team,

1.EndNote Comparison is not getting in .Net Version
2.Deleted Text is comparison is not perfecte.

Can you suggest the best way to get Crestal clear Comparison…!!!

Sample code

public static void CompareDcumentsFromFileToOutputFileWithSettings()
        // define and set comparison settings and properties.
        ComparisonSettings objComparisonSettings = new ComparisonSettings();
        objComparisonSettings.CalculateComponentCoordinates = true;
        objComparisonSettings.DeletedItemsStyle.StrikeThrough = true;
        objComparisonSettings.DeletedItemsStyle.FontColor = System.Drawing.Color.Red;

        objComparisonSettings.DetailLevel = DetailLevel.Hight;
        objComparisonSettings.DiagramMasterSetting.UseSourceMaster = true;
        objComparisonSettings.GenerateSummaryPage = true;
        objComparisonSettings.InsertedItemsStyle.FontColor = System.Drawing.Color.Green;
        objComparisonSettings.MarkDeletedInsertedContentDeep = true;
        objComparisonSettings.ShowDeletedContent = true;
        objComparisonSettings.StyleChangeDetection = true;
        objComparisonSettings.UseFramesForDelInsElements = true;

        objComparisonSettings.StyleChangedItemsStyle.HighlightColor = System.Drawing.Color.LightGray;
        objComparisonSettings.StyleChangedItemsStyle.FontColor = System.Drawing.Color.Black;

        char[] Mychars = { ' ' };
        objComparisonSettings.WordsSeparatorChars = Mychars;

        // Get instance of GroupDocs.Comparison.Comparer and call method Compare.
        GroupDocs.Comparison.Comparer comparison = Common.getComparison();
        ICompareResult result = comparison.Compare(@"D:\GroupDocsTesting\old.docx", @"D:\GroupDocsTesting\New.docx", objComparisonSettings);

        // save result document to a file.

Find the attached sample documents (272.5 KB)

We are waiting for your replay…!!!



Thanks for taking interest in GroupDocs.Comparison for .NET and posting your concerns.

This issue is reproduced at our end, we are further investigating it. Your investigation ticket ID is COMPARISONNET-1804. We’ll let you know as we have any update on it.

Can you please highlight this issue in the output document. We can see that deleted items are marked in the output - (256.0 KB). This output is generated using 19.1 version of the API.



Thanks for the reply,
we found the disturbance in deleted items and added comments in table on Output.docx. Please find the attachment output (2).zip (260.2 KB)

we are looking for your response.



Thanks for the explanation.
We are investigating this scenario. Your investigation ticket ID is COMPARISONNET-1805. We’ll notify you as we have any update on it.


we are yet to take the licence for Groupdocs comparison,
we are blocked with multiple issues(Footnote & Endnote and superscript and subscript) with product.

we are waiting for resolutions ASAP.



We are sorry for the inconvenience you are facing.

These issues are still under investigation. We’re trying our best to sort them out. You shall be notified as we have any further update.



We are pleased to notify you that your issue COMPARISONNET-1804 is now resolved in version 19.3.1.



Let me guide you about COMPARISONNET-1805.
You commented in the word document:

Added spaces in between the word(message as mes sage), But here it is showing like 2 lines,

Please note that API takes the two paragraphs (the one in source and the one in target) and then compares them. It sees that there is a big difference between them, hence it adds the source paragraph as deleted and the target as inserted.

Haven’t added/ deleted any Line breaks, but here showing it as 2 line breaks are deleted.

This is because you added two new lines to go to the next page in order to insert an image in the source document. Hence the line break was deleted change was shown.