<< Click to Display Table of Contents >> Navigation: OCR Module > High-Level Functions > OCR_LoadW |
OCR_LoadW loads the specified file into the PXODocument object’s input layer. Please note that all elements are case-sensitive:
OCR_LoadW(
PXODocument Doc,
LPWSTR pwFilename
);
Doc
Specifies the PXODocument that OCR_Init created.
pwFilename
Specifies the input PDF filename.
If the function succeeds then the return value is OCR_OK.
If the function fails then the return value is an error code.
Password protected documents are not supported and should be saved in unprotected status in order to perform OCR. We will support password protected documents in future releases.