The PageInfo class represents information about a specific page in a document.
It provides details such as the page number, width, height, and other relevant properties.
Use this class to retrieve information about individual pages in a document during the comparison process.
Example usage:
try (Comparer comparer = new Comparer(sourceFile)) {
comparer.add(targetFile);
comparer.compare(resultFile);
final ChangeInfo[] changes = comparer.getChanges();
for (ChangeInfo change : changes) {
final PageInfo pageInfo = change.getPageInfo();
// Print the page information
System.out.println("Page Number: " + pageInfo.getPageNumber());
System.out.println("Page Width: " + pageInfo.getWidth());
System.out.println("Page Height: " + pageInfo.getHeight());
}
}