LastOCRError
OCR、错误处理
描述
返回上次 OCR 解析、提供程序、渲染或文本层失败的详细原因
语法
Delphi
Function TPDFlib.LastOCRError: WideString;ActiveX
Function PDFlib::LastOCRError() As StringDLL
const wchar_t* DLLastOCRError(int InstanceID);
const char* DLLastOCRErrorA(int InstanceID);备注
OCR 操作成功后会清除先前的值
使用 LastErrorCode 获取稳定的数值类别,并使用此函数获取面向日志或用户的诊断信息