LastOCRError

OCR, gestione degli errori

Descrizione

Restituisce il motivo dettagliato dell'ultimo errore OCR di analisi, provider, rendering o livello di testo

Sintassi

Delphi

Function TPDFlib.LastOCRError: WideString;

ActiveX

Function PDFlib::LastOCRError() As String

DLL

const wchar_t* DLLastOCRError(int InstanceID);
const char* DLLastOCRErrorA(int InstanceID);

Note

Un'operazione OCR riuscita cancella il valore precedente

Usare LastErrorCode per la categoria numerica stabile e questa funzione per la diagnostica destinata a log o utenti

Vedere anche

ApplyOCRTextLayer, OCRPage, OCRDocument