I have the following issue:
Creating a non OCR PDF:
Code: Select all
iPdfId = oImaging.PdfNewPdf(filename);
imageID = oImaging.TwainAcquireToGdPictureImage(.....);
oImaging.PdfAddImageFromGdPictureImage(iPdfId, imageID);
oImaging.PdfEndPdf(iPdfId);
=============================================================
When I create a PDF which IS ocr'ed, the created PDF can be viewed without any problems:
Code: Select all
iPdfId = oImaging.PdfOCRStart(filename, ........);
imageID = oImaging.TwainAcquireToGdPictureImage(.....);
oImaging.PdfAddGdPictureImageToPdfOCR(iPdfId, imageID, ........);
oImaging.PdfOCRStop(iPdfId);
eagleman