Frameworks
React Native
Flutter
Version 10
Version 9
Version 8
Version 7
Version 6
Version 5
The Apryse SDK provides powerful file comparison functionality. An example of this capability is shown below by comparing two PDF pages and highlighting the difference between them in red.
File 1 | File 2 | Difference |
---|---|---|
The PTDiffViewController
class shows a control to select two documents and create a new file showing the visual difference between them with customizable colors.
The file comparison control is part of the Tools library, so make sure you have added the Tools library to your project.
The PTDiffViewController
creates an output file showing the visual difference between the two documents in a temporary directory and returns an NSURL
with the file's location via a delegate method. To save and display the file, you must conform to the PTDiffViewControllerDelegate
protocol.
The following sample code demonstrates how to use PDFNet
to generate a document displaying the visual difference between two PDF pages:
Did you find this helpful?
Trial setup questions?
Ask experts on DiscordNeed other help?
Contact SupportPricing or product questions?
Contact Sales