Comparison
GroupDocs.Comparison provides many ways to customize the logic of the changes’ detection algorithm and output file creation by setting the CompareOptions
class properties.
You can customize the following parameters:
CalculateCoordinates
specifies whether to calculate coordinates for changed components.ChangedItemStyle
specifies the style of the changed items.DeletedItemStyle
specifies the style of the deleted items.DetalisationLevel
gets or sets the comparison detailing level.DetectStyleChanges
specifies whether to detect style changes.DiagramMasterSetting
gets or sets the path to the master, or uses comparison without a master (this option is for diagrams only).GenerateSummaryPage
specifies whether to add a summary page with the detected changes statistics to the output document.InsertedItemStyle
specifies the style of inserted items.MarkChangedContent
specifies whether to use frames for shapes in Word Processing and for rectangles in Image documents.MarkNestedContent
specifies whether to accept inserted/deleted styles for all children of inserted/deleted items.OriginalSize
gets or sets the original sizes of comparing documents.PasswordSaveOption
gets or sets the password save option. For details, see here.SensitivityOfComparison
gets or sets the comparison sensitivity. For details, see here.ShowDeletedContent
specifies whether to show deleted components in the output document.ShowInsertedContent
specifies whether to show inserted components in the output document.WordsSeparatorChars
sets an array of delimiters to split text into words.CompareBookmarks
specifies whether to compare bookmarks.CompareVariableProperty
specifies whether to compare variable properties.CompareDocumentProperty
specifies whether to compare built and custom properties.ShowRevisions
specifies whether to show other revisions in the output document.LeaveGaps
specifies whether to show empty lines instead of inserted/deleted components in the final document.
For details, see the following guides:
- Accept or Reject detected changes
- Adjusting comparison sensitivity
- Compare multiple documents
- Customize changes styles
- Get changes coordinates
- Get a list of changes
- Get source and target text from files
- How to merge source code files
- Get only summary page
- Get extended information on the summary page
- Compare of Variables and Document properties