public class PDFCompare extends Object
| Modifier and Type | Method and Description |
|---|---|
static PDFDocument |
createCompare(PDFDocument doc1,
CompareOptions options1,
PDFDocument doc2,
CompareOptions options2)
Create a new PDFDocument with separate layers containing the PDF content
converted to color.
|
public static PDFDocument createCompare(PDFDocument doc1, CompareOptions options1, PDFDocument doc2, CompareOptions options2) throws PDFException
doc1 - a PDFDocument to add as a layer to the comparison documentoptions1 - only layer name and color are used for these optionsdoc2 - PDFDocument to add as a layer to the comparison documentoptions2 - CompareOptions to be used for doc2 when adding to the comparison documentPDFException