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,供記錄檔或使用者閱讀的診斷資訊則用本函式