Hi,
I am trying to open up a PDF, replace some text, and then save the file. I've tried the following code on 3 PDF files:
pdfContent.bindPdf("c:\\test.pdf");
pdfContent.replaceText("house", "houseXXX");
pdfContent.save("c:\\Generated - test.pdf");
2 of the 3 generated PDF files were corrupt, given a "too few operands" error when trying to open them. The only PDF that worked is one from the examples. My other 2 PDFs (one generated from MS Word, and the other made from InDesign) both had none zero file sizes, however, acrobat is unable to read them. These PDFs contains both text and images.
Is there a specific subset of PDF versions that Aspose can work with?
John