LastOCRError
OCR, error handling
Description
Returns the detailed reason for the last OCR parsing, provider, rendering, or text-layer failure
Syntax
Delphi
Function TPDFlib.LastOCRError: WideString;ActiveX
Function PDFlib::LastOCRError() As StringDLL
const wchar_t* DLLastOCRError(int InstanceID);
const char* DLLastOCRErrorA(int InstanceID);Remarks
A successful OCR operation clears the previous value
Use LastErrorCode for the stable numeric category and this function for diagnostics intended for logs or users