Get extended information on the summary page


GroupDocs.Comparison allows you to detect changes between source and target files and display changes on the separate page - SummaryPage. Аlso you can get extended information about comparison of documents, which will be display in the SummaryPage.

The following are the steps to get extended information:

  • Instantiate Comparer object with source document path or stream;
  • Call Add method and specify target document path or stream;
  • Instantiate CompareOptions object and set ExtendedSummaryPage property to true;
  • Call Comparer method and pass CompareOptions object from previous step.

The following code sample shows how to get extended information about comparison of documents.

Example code block to get extended information


using (Comparer comparer = new Comparer(sourcePath))
{
	comparer.Add(targetPath);
	CompareOptions options = new CompareOptions() {ExtendedSummaryPage = true};
    comparer.Compare(resultPath, options);
}

Example of displaying the summary page with extended information


More resources


GitHub Examples

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

Free Online App

Along with full-featured .NET library we provide simple, but powerful free Apps.
You are welcome to compare your DOC or DOCX, XLS or XLSX, PPT or PPTX, PDF, EML, EMLX, MSG and other documents with free to use online GroupDocs Comparison App.