In a PowerBuilder 12.5 application, we are trying to import and export programmatically in a .xfdf file all the annotations present in a PDF.
We succeeded by using PDFXChange Viewer Active X SDK and these commands :
Code: Select all
Ole_PDF.Object.RunJavaScript( 'this.importAnXFDF( "'C:\temp\annot.xfdf'" );' )
Ole_PDF.Object.RunJavaScript( 'this.exportAsXFDF( true, false, null, "' + "'C:\temp\annot.xfdf'" + '", true);' )
Now, we are struggling to make the equivalent in PDF_Xchange Editor ActiveX.
We had a look at the ”FullDemo” included with the SDK. On its Javascript tab, we tried to enter this command :
Code: Select all
importAnXFDF("C:\temp\annot.xfdf") (single or double quoted)
Could you please give us some hints?
Thank you very much!
Eric