Hi,
i'm evaluating the Aspose.Pdf.Kit for java.
i tried the following code:
public static void main(String args[]) throws Exception {
try {
PdfContentEditor editor = new PdfContentEditor();
editor.bindPdf(path + "documento2.pdf");
editor.replaceText("Bruno", "xxxxxxxxxxx");
editor.save(path + "replace.pdf");
}
catch (java.io.IOException ioe) {
System.out.println(ioe.getMessage() + ioe.getStackTrace());
}
}
in the new file generated the string "Bruno" has not been changed and all the apostrophes has been changed in question mark. Can you tell me how to fix this problem?
thanks a lot,
Bruno Cervesi