GroupDocs.Comparison for .NET 24.9 Release Notes
Full list of changes in this release
Key | Category | Summary |
---|---|---|
COMPARISONNET-4089 | Feature | Show comparing result of plain text document as a PDF |
GROUPDOCSAPP-324 | Fix | Comparison API. Broken response for CompareFiles |
GROUPDOCSAPP-426 | Fix | Comparison not works with PDF |
GROUPDOCSAPP-296 | Fix | Error with ‘pageNumber undefined’ when comparing two docx file |
COMPARISONAPP-160 | Fix | Comparer.GetChanges returns changes with zero PageNumber |
COMPARISONNET-2815 | Fix | PDF comparison - output has formatting issues |
COMPARISONNET-2949 | Fix | Comparison shows changes in footer page numbering |
Major Features
Below is the list of most notable changes in release of GroupDocs.Comparison for .NET 24.9:
- Implemented returning result of plain text documents comparison as a PDF
- Fixed Comparison returning changes with zero PageNumber
- Fixed output formatting issues on PDF
- Fixed shows changes in footer page numbering
Saving comparison result of plain text documents as a PDF
Starting with version 24.9, we have implemented the ability to save the result of a plain text document comparison in PDF format. To use this feature, you must specify the path to the result file as PDF. Below is a code snippet that demonstrates how to use this feature.
using GroupDocs.Comparison;
string sourcePath = @"source.txt";
string targetPath = @"target.txt";
string resultPath = @"result.pdf";
using (Comparer comparer = new Comparer(sourcePath))
{
// Add target document
comparer.Add(targetPath);
// Compare and save comparison result
comparer.Compare(resultPath);
}
more details could be found on documentation here.