<< Click to Display Table of Contents >> Navigation: OCR Module > Input List Handling |
The Input List Handling options are detailed below.
•OCR_NewPagelist initializes a new PXO_Pagelist structure, which is used to store PDF page numbers for subsequent OCR operations.
•OCR_AddPage adds a new input document page number to the PXO_Pagelist structure.
•OCR_NumPages returns the number of input page numbers stored in the PXO_Pagelist structure.
•OCR_GetPageByIndex returns the specified input document page number from the PXO_Pagelist structure.
•OCR_ReleasePagelist releases the memory that PXO_Pagelist uses.
•OCR_NewInputFields initializes a new PXO_InputField structure.
•OCR_AddInputField adds a new PXO_InputField to the PXO_InputFields structure.
•OCR_NumInputFields returns the number of input fields stored in the PXO_InputFields structure.
•OCR_GetInputFieldByIndex returns the zero-indexed PXO_InputField currently stored in its InFields structure. I.e. the current input settings for OCR.
•OCR_ReleaseInputFields frees the memory that PXO_InputFields structures use.
•OCR_PagesToInputFields duplicates an input field for the pages that the input PXO_Pagelist structure specifies.
•OCR_LoadTemplateW loads a list of input fields into a PXO_InputFields structure.
•OCR_SaveTemplateW saves a list of input fields from a PXO_InputFields structure for subsequent use.