GroupDocs.Comparison for .NET 19.3.1 Release Notes

Major Features

Below is the list of most notable changes in release of GroupDocs.Comparison for .NET 19.3.1:

  • Implemented ability to convert documents of different formats to images
  • Fixed issue with SuperScript and SubScript elements on Words documents
  • Fixed style settings for GroupDocs.Comparison.Html
  • Fixed issue with comparing large sized PDF files (another cases)
  • Fixed not working comparison of EndNote element on Words

Full List of Issues Covering all Changes in this Release

KeySummaryIssue Type
COMPARISONNET-1836Save documents as images for WordsFeature
COMPARISONNET-1837Save documents as images for CellsFeature
COMPARISONNET-1838Save documents as images for SlidesFeature
COMPARISONNET-1839Save documents as images for PDFFeature
COMPARISONNET-1840Save documents as images for HTMLFeature
COMPARISONNET-1841Save documents as images for EmailFeature
COMPARISONNET-1842Save documents as images for NoteFeature
COMPARISONNET-1843Save documents as images for TextFeature
COMPARISONNET-1844Save documents as images for DiagramsFeature
COMPARISONNET-1806Issue on SuperScript and SubScriptBug
COMPARISONNET-1802Settings StyleSettings is not working for htmlBug
COMPARISONNET-1803Issue in comparing large sized PDF files (another cases)Bug
COMPARISONNET-1804EndNote Comparison is not workingBug

Public API and Backward Incompatible Changes

  1. Getting Image representation of document pages

    Comparer comparer = new Comparer();
    ComparisonSettings cs = new ComparisonSettings();
    cs.StyleChangeDetection = true;
         
         
    //compare document
    ICompareResult result = comparer.Compare(sourcePath, targetPath, cs);
    result.SaveDocument(resultPath);
         
         
    //get list of pages
    List<PageImage> resultImages = comparer.ConvertToImages(resultPath);
         
         
    //save them as bitmap to separate folder
    if (!Directory.Exists(savePath + @"/Result Pages")) 
       Directory.CreateDirectory(savePath + @"/Result Pages");
         
         
    foreach (PageImage image in resultImages)
    { 
         Bitmap bitmap = new Bitmap(image.PageStream); 
         bitmap.Save(savePath + @"/Result Pages/result_" + image.PageNumber + ".png"); 
         bitmap.Dispose(); 
    }