Hi All
I am using ReplaceOnlyFirstOccurrenceOfThePhrase to replace text in many files
what i am doing right now is opening one pdf and changing text to many different new text and saving to multiple output pdfs. for example: 1pdf x 10 new texts
I was just trying to reduce time per file. currently its take around 0.7sec per file. as we have millions of files
Document pdfDocument = new Document(absPath);
for (int i = 0; i < data.length; i++) {
// I want to clone the object here for each iteration.
Document pdfDocumentClone = (Document) pdfDocument.Clone();
}
for clone i get error The method clone() from the type Object is not visible.
Any suggestion would be appreciated