Get extended information on the summary page

On this page


GroupDocs.Comparison allows you to detect changes between source and target files and display changes on the separate page - SummaryPage. You can also get the extended information about comparison of documents, which is displayed in the SummaryPage.

To get extended information, follow these steps:

  1. Instantiate the Comparer object. Specify the source document path or stream.
  2. Call the Add method. Specify the target document path or stream.
  3. Instantiate the CompareOptions object. Set the ExtendedSummaryPage property to true.
  4. Call the Comparer method. Specify the CompareOptions object from the previous step.

The following code snippet shows how to get extended information:

using GroupDocs.Comparison;
using GroupDocs.Comparison.Options;
// ...

using (Comparer comparer = new Comparer("source.docx"))
{
    comparer.Add("target.docx");
    CompareOptions options = new CompareOptions() {ExtendedSummaryPage = true};
    comparer.Compare("result.docx", options);
}

The result is as follows:

On this page