I use the following code to generate searchable pdf but it just failed
Code: Select all
Dim imgId As Long = AxImaging1.CreateImageFromFile("c:\temp\skf\1.tif")
AxImaging1.PdfOCRCreateFromMultipageTIFFEx(imgId, "C:\temp\skf\1.pdf", GdPicturePro5.TesseractDictionary.TesseractDictionaryEnglish, "C:\Program Files\GdPicture ToolKit Pro Edition\redist\optional\ocrdata")
Code: Select all
at System.RuntimeMethodHandle._InvokeMethodFast(Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
at System.RuntimeMethodHandle.InvokeMethodFast(Object target, Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at System.Reflection.MethodBase.Invoke(Object obj, Object[] parameters)
at AxGdPicturePro5.AxImaging.PdfOCRCreateFromMultipageTIFFEx(Int32 nImageID, String sFilePath, TesseractDictionary nDictionary, String sDictionaryPath)
After that, even i uninstall 5.12 and install back 5.9 again but with no help. It is originally no problem, please help. many thanks