Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Comparer comparer = new Comparer();
// Settings
ComparisonSettings comparisonSettings = new ComparisonSettings();
// Compare documents
ICompareResult compareResult =, targetName, comparisonSettings);
// Getting sizes of the first change
ChangeInfo[] changes = compareResult.getChanges();
// Coordinates of first change
final Rectangle rectangle = changes[0].getBox();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.