<< Click to Display Table of Contents >> Navigation: OCR Module > High-Level Functions > OCR_MakeSearchable |
OCR_MakeSearchable processes the input PXODocument and generates a new output layer that contains searchable PDF results. Please note that all elements are case-sensitive:
HRESULT OCR_MakeSearchable(
PXODocument Doc,
PXO_Options* pOptions,
PXO_Pagelist Pagelist = Null
DWORD* nPages
);
Doc
Specifies the PXODocument that OCR_Init created and OCR_LoadW or OCR_LoadA loaded.
pOptions
This parameter is an input pointer to a PXO_Options structure that contains the OCR parameters.
Pagelist
This parameter is an optional input PXO_Pagelist structure that contains a list of PDF pages to include in the OCR. If set to NULL then the function will OCR all document pages.
If the function succeeds then the return value is OCR_OK.
If the function fails then the return value is an error code.