With some documents this works as expected, other documents hang (take extremely long) on this function (and never return to perform the next line of code).
Code: Select all
oGdPictureImaging.OCRTesseractReinit();
oGdPictureImaging.OCRTesseractSetPassCount(1);
oGdPictureImaging.PdfOCRCreateFromMultipageTIFF(id, TesseractDictionary.TesseractDictionaryDutch, this.apppath + "\\OCR\\", "", path + "pdf", true, "", "Doclogic", "", "", "Doclogic Barcode Processor");
oGdPictureImaging.OCRTesseractClear();