Am 18.09.2015 um 19:00 schrieb Kevin Ternes:
In PDFBox 1.8, what is the most efficient way to get a complete copy of an 
existing PDDocument?
Is this:
                 PDDocument targetPDDocument = new PDDocument();
                 PDFCloneUtility cloneUtility = new 
PDFCloneUtility(targetPDDocument);
                 cloneUtility.cloneForNewDocument(sourcePDDocument);

Yes

Better than this?:
                 PDDocument targetPDDocument = sourcePDDocument.clone();

I never heard that anybody used that one.

Tilman


Also, what is the most efficient way in PDFBox 2?



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to