Compare variables and document properties

GroupDocs.Comparison for Python via .NET lets you compare Word document properties, including variable, built-in, and custom properties.

Compare document properties

Enable property comparison to detect changes in metadata.

import groupdocs.comparison as gc

with gc.Comparer("source.docx") as comparer:
    comparer.add("target.docx")
    options = gc.CompareOptions()
    options.compare_variable_property = True  # compare variable properties
    options.compare_document_property = True  # compare built and custom properties
    comparer.compare("result.docx", options)

🔹 Use case: Ensure key metadata values remain consistent across document versions.

The result is as follows:

Close
Loading

Analyzing your prompt, please hold on...

An error occurred while retrieving the results. Please refresh the page and try again.