<< Click to Display Table of Contents >> Navigation: OCR Module > Input List Handling > OCR_PagesToInputFields |
OCR_PagesToInputFields duplicates an input field for the pages that the input PXO_Pagelist structure specifies. Please note that all elements are case-sensitive:
HRESULT OCR_PagesToInputFields(
PXO_InputFields InFields,
PXO_InputField InField,
PXO_Pagelist Pagelist,
);
InFields
The PXO_InputFields variable that OCR_NewInputFields created.
InField
The input field to be duplicated.
PageList
The input PXO_Pagelist structure that OCR_NewPagelist created and OCR_AddPage populated.
If the function succeeds then the return value is OCR_OK
If the function fails then the return value is an error code.
All BSTR members of InField are duplicated. A duplicate is made for each entry added to the InFields structure. Therefore a SysAllocString() must be added in order to free up the BSTR members of InField. Also, it should be noted that modifying these BSTR members does not impact stored fields.